- I am hosting my website on hostmonster.com.
- I am using php/mysql.
- I have a folder with pdf files: pfdfolder/.
- I want to give access to some users to that folder and deny access to other users to that folder. How do I go about it ?
I don’t know if it helps but I have a mysql with username and passwords if maybe I can use that.
If you don’t have a session based login system, you could use something like .htaccess
http://www.javascriptkit.com/howto/htaccess3.shtml