Webmaster Tools: Generate .htaccess & .htpasswd for password protected directory


Password Protected Directory

STEP1: First of all you need to create .htaccess to set up password protection & copy the file in the directory which you want to protect.

AuthName "Realm name"
AuthType Basic
AuthUserFile /home/../../.htpasswd
require valid-user

AuthName : When you enter url in browser, the dialogue box asking for the password for password protected directory will appear with Realm name is text on the dialogue box. See what it does in practice and then you can decide what text you would like here.

AuthType : Only Basic is possible at present.

AuthUserFile : .htpasswd file with full path from root of the server like /home/../../.htpasswd. where you will place the password generated blow.

require : user validated by password is allowed.

STEP2: Create .htpasswd file & copy any where on the server. Please enter User Name & password to access your password protected directory.

Name:
Password:
Re-enter Password:

 

 

 

 

 

 

 

 

 

 

Live2Support.com :
Product - Benefits - Features - How Does it Works - Pricing - SSL Certificates - Signup - Contactus - Login - Submit Resources