File manager how to prevent access to specific folders/files
Posted: Sun Dec 04, 2005 1:13 pm
Hi all,
I have created a filemanager that gives admin the facility to create new folders and upload files to those folders. i have also got a great script that provides a user admin facility that also authenticates users using a mysql database I'm a bit stuck on how to go about preventing certain users from seeing the contents of certain directories (and files as well), such that a user logs in and he can only access those directories he has prileges for. I was thinking of using .htaccess but the server Im using doesnt support it. Could somebody point me in the right direction please.
Many Thanks
Ian
I have created a filemanager that gives admin the facility to create new folders and upload files to those folders. i have also got a great script that provides a user admin facility that also authenticates users using a mysql database I'm a bit stuck on how to go about preventing certain users from seeing the contents of certain directories (and files as well), such that a user logs in and he can only access those directories he has prileges for. I was thinking of using .htaccess but the server Im using doesnt support it. Could somebody point me in the right direction please.
Many Thanks
Ian