My problem statement is as such:
- I have a file with columns and rows, and the whole file is encrypted
- File will be distributed, and depending on the recipient, the recipient may only require access to certain columns
e.g. columns are attributes, and recipient A may only have rights to read attribute {1, 2}, while recipient B may have rights to read attributes {1, 2, 4}
For access to different rows in the same column, it is taken that each row has a unique ID, and recipient will not be able to guess the ID even though the entire column is decrypted.
Is there any such implementation which I can refer to?