Password Protection under HTTP


You can use an .htaccess file to setup passwd protection. Create a subdirectory under you web area, mine is called secure. In that subdirectory create a file called .htaccess The .htaccess file should look something like this...


AuthType Basic
AuthName NRAO
AuthUserFile /home/www.aoc.nrao.edu/homes/krowe/stuff/passwd/secure/passwd
require valid-user

the passwd file is created via htpasswd -c <passwd_file> <username> on any linux machine at the AOC. Then users can be added via htpasswd <passwd_file> <username>. Here is the passwd file in the secure subdirectory...


guest:nLsvOQjtvb1nc

You can try entering the secure subdirectory HERE
the username is guest
the passwd is 12345


K. Scott Rowe