One way to do this will be - Create a table with columns to store file_name, file_url and use_group. The user_group could be for example - beginner, intermediate, advanced and expert. Four types of users. Each record inserted into this table will belong to one of these groups. So, when a user uploads a file, its name, url and group will get saved to this table. When another user logs in to view, you will check his/her group and show all the files (urls) belonging to that group.