would use this feature if you want to password protect a directory
on your site. This is a feature which requires some experience with
Attention FrontPage Users: If
you are a FrontPage user you can password protect directories from
within the program. Please consult your user manual or online user
guides for more information. Please do not attempt to alter your
.htaccess file while FrontPage extensions are installed for your
server. This may cause your account to become inoperable.
in, and login
to the directory you want to password protect.
the .htaccessfile (with the dot), it should contain the followinglines:
# .htaccess file
allow from all
yourlogin and directorytoprotect as appropriate.
you must create the .htpasswd file using the htpasswd tool.
Using SSH/ telnet, move to the folder that you specified within
the .htaccess file as "AuthUserFile" (/users/web/yourlogin/web/directorytoprotect/)
a. Type the following command to create the file
and add a user:
/usr/bin/htpasswd -c .htpasswd username
b. You will be prompted for the users' password
you need to add additional users to the file, use the command
above without the " -c".