How to assign access privilege of file(Stored in file table ) to user(Stored in my user table)
<p>I am writing a repository program in java, I have a User table that contains the users of repository and a File Table that contains all the imported files in repository, in MYSQL database.How can I set access privileges of my files to users?In fact how can I determine which user have witch access privilege(read,write,read and write) to which file in repository?</p>

<p>Thanks </p>
