Password protecting a directory with customised usernames
Note: .htaccess is not available on IIS7 web hosting. ASP.NET based authentication can be used instead.
The .htaccess method of password protection can be setup upon request for any hosting account.
Once activated you will need to setup a basic .htaccess file in the folder you wish to password protect.
Below is an example of what should be in the file.
AuthName Title
AuthUserFile C:\path\to\your\site\folder\.htpasswd
Require valid-user
Replace "Title" under AuthName with the heading you want to appear on the login screen.
Replace the AuthUserFile value with the full windows path to the directory.
This path can be found by logging in to the Control Panel and looking at the Domain Manager.
Once completed you will then need to create a .htpasswd file that stores the usernames and passwords that will be accessing the directory.
The passwords in the file are encrypted so you will need to generate them using the utility below:
http://control.studiocoast.com/scripts/htpasswd.php
Insert one entry per line.
Once both files have been correctly configured and placed into the desired directory your password protection should be complete.
Note that if it does not work you will need to verify with support that password protection has indeed been enabled for your account.
(It will not be by default)