nesianmysticfan
04-17-2004, 06:58 AM
first, this will password protect the directory these files are in and is very secure. Ok, first create a text file and call it .htpasswd with nothing before or after it. Then, visit http://www.kxs.net/support/htaccess_pw.html and type in a username and password. Then copy the part which should look something like username:zW711QfKS.xWc copy it and paste it in the .htpasswd file. you can do more than one by pressing return or enter then copy and paste another. After that create a text file called .htaccess again with nothing infront or after. Then add:
AuthName "Section Name"
AuthType Basic
AuthUserFile /full/path/to/.htpasswd
Require valid-user
to it. Then change /full/path/to/.htpasswd to the full address of the .htpasswd and the Section name to what you want to call it, such as members area. Save the files and upload them to your directory which you want passworded and there you have a password protection. when you visit a page it will popup a window telling you to enter a username and password. The username is the username you entered at http://www.kxs.net/support/htaccess_pw.html and the password is the password you entered there too. also, no popup blockers will stop the popup.
AuthName "Section Name"
AuthType Basic
AuthUserFile /full/path/to/.htpasswd
Require valid-user
to it. Then change /full/path/to/.htpasswd to the full address of the .htpasswd and the Section name to what you want to call it, such as members area. Save the files and upload them to your directory which you want passworded and there you have a password protection. when you visit a page it will popup a window telling you to enter a username and password. The username is the username you entered at http://www.kxs.net/support/htaccess_pw.html and the password is the password you entered there too. also, no popup blockers will stop the popup.