|
Copied To Clipboard!
Put in .htaccess file in the directory you are trying to protect:
#Begin AuthType
AuthType Basic
AuthName "This Area is Password Protected"
AuthUserFile /full/path/to/.htpasswd
Require valid-user
#End AuthType
Then, put a .htpasswd file containing authorized USER NAMES and PASSWORDS in the directory being protected.
JohnDoe:$may1$O/BJv.Mv6Kd/ME/
|