Hi,
I want to build a web interface to protect a folder with user name and password.
I want to give different user names and passwords, I would like to store informations about users into a table so that I can re-use them as the user is logged, and also I need to be able to add users from a web page using the unix/apache command "htpasswd" .
So, in other words, I need to protect a folder using .htpasswd method, I need to add or remove users from this file and also I need to find a way to "catch" username and password so that I can find related user info into the database...
Have you got dome suggestions to give me about ?
Where can I find some sample code about adding users to a folder in a Unix machine running Apache web server ?
One way could be to have only one user name and password to access to the protected folder and verify the user into the Mysql Database...but in this way I don't know how to directly pass default username and password via HTTP without the prompt for authentication...
thank you very much for your help !
Fabio