I was just wondering if it would be possible to protect an directory and its content with php http authentication.
Let's say I have created for each user an directory and only that user can access the content in that directory using a mysql database table to get access.
How to protect directory and its content (including images, plain html files, etc).
I now it can be done with .htaccess and .htpasswd.
But my host doesn't support mod_auth_mysql.
I know how to protect a php page with php http authentication and mysql