Password Protect creator

Enter the required data to generate files to password protect a directory. Two files will be created:

.htaccess
AuthUserFile /home/virtual/var/www/public_html/hiddendir/.htpasswd
AuthName "Authentication Required"
AuthType Basic
require valid-user

.htpasswd
Name01:Encrypted_Pass01
Name02:Encrypted_Pass02
Name03:Encrypted_Pass03

You'll receive a ZIP file with the two files. Place the files in the to-be-protected folder.

The proper absolute path is important. You can try to acquire it by using telnet and entering pwd, or create a php script that echoes getcwd(), but on a shared host odds are the root is fake and the authentication won't work (the dialog keeps on appearing). Ask your service provider for the actual real absolute path.

Path

Enter the full internal path to the directory that needs to be protected.

Title

Enter the title for the authentication dialog.

Users






Enter at least one user, leave the rest empty

Password






Enter user's passwords.

Pass again






Re-type passwords.

Encryption type:


To create more advanced multi-user auth files, grab notepad and do it yourself.

<< Back to the index!