PHP + Apache
Posted: Tue Jul 22, 2003 12:21 am
It is Necessary to write script entry in protected directory (htaccess + htpasswd) There is database (MySQL) with table, similar htpasswd.
user calls at on given URL, enters login+paroli in HTML form and gains access to protected directory
that is to say there is following structure directory:
/login.php
/protected
/protected/a.html
The Directory /protected is protected by Apache, it is necessary to user login on page login.php through usual HTML form, and then could fall into security directory protected already without request user and password by Apache.
Possible in general such do, I how much did not try be not got... But much it is necessary =( Mozh who knows as with this fight?
user calls at on given URL, enters login+paroli in HTML form and gains access to protected directory
that is to say there is following structure directory:
/login.php
/protected
/protected/a.html
The Directory /protected is protected by Apache, it is necessary to user login on page login.php through usual HTML form, and then could fall into security directory protected already without request user and password by Apache.
Possible in general such do, I how much did not try be not got... But much it is necessary =( Mozh who knows as with this fight?