Setting up a Password-Protected Directory with .htaccess files and Apache By Ed, www.narced.com/linux Setting up a .htaccess is very simple. Put this file in the directory you want to password protect: --------- .htaccess ------------ AuthType Basic AuthUserFile /path/to/auth/file AuthName "Protected Area" require valid-user -------------------------------- Then, add username to the auth file by doing: htpasswd -c /path/to/authfile/auth_file username Finally, you need to have have 'AllowOverride' directive set to something beside NONE in Apache's httpd.conf file. "AuthConfig Limit" seems to work pretty well.