.

How To Password Protect Directories

To password protect a directory:
1. Create a text file called .htaccess using a simple word processing program like Notepad or Wordpad.
2. Insert the contents below - customizing the bold/italicized portions to anything you like.

AuthUserFile /usr/local/etc/htpasswd
AuthGroupFile /dev/null
AuthName yourdomain.com_or_any_name
AuthType Basic
<Limit GET PUT POST>
 require user any_username_you _choose
</Limit>

3. Save the file as  ".htaccess"  without the quotes and with the beginning period.
4. Ftp it to the directory you want to password protect. Use ASCII mode not binary for uploading this file.
5. Make a note of what you set the "require user" to.
6. Fill out the password request form at: http://secure.arcbyte.com/secure/password-request.html

7. We will normally activate your password protection within 24 hours.

For password protection scripts that you also may wish to use, go to: CGI Resources