 |
How to password protect a directory: 1. create a file called .htaccess in the directory you want to protect with contents like this:

2. next to the .htaccess file create a fill called .htpasswd file. Each line will contain a username followed by an encrypted password. Use the form below to get an encrypted password from the plain text entry of your choice. Each line will have a username follow by a colon then the encrypted password, like this:
That's about it! You should now have a password protected directory!
Modified : November, 28, 2007 [ Back ]
|
|
 |