Hi!
I'm using PHP to store files on the filesystem on my server.
I use an administration system to upload/view/edit the files.
Now I want to be able to hide my files from some users, but make them visible/editable/replacable to others.
My users are defined in a MySQL database, and so they are not users in the linux/unix-kind-of-way.
I'm storing the filenames of the files in the database, so I can link the users to each specific file - if he can edit/display it or not.
But if somebody used a program to look up all the files on my server, I would like to hide the uploaded files. I don't want them to be public unless I "tell them to be".
Anybody?
Thanks,
Torbjørn