Password-protecting Web Folders II

Now we will create the .htaccess file needed for our password-protected web folder to work.


Next create a new page and type in the following and save it as .htaccess:

AuthType Basic
AuthName "Secret Articles"
AuthUserFile /home/username/.htpasswd/articles/secret/passwd
require valid-user

Save this file to:
path: /home/username/public_html/articles/secret/.htaccess

If you are like me and use NotePad (and Windows ME PC), you will not be able to save this file as .htaccess.

You can either create and name the file using Dreamweaver (where you can rename the file to .htaccess without any problems) or

Save the file as htaccess.txt, upload the file to your web server and rename it there...

If you have any questions and comments, please ask at our Message Board / Forums.


Do you like the new design?



 Don't know