/ Published in: Other
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Put in .htaccess file in the directory you are trying to protect: AuthType Basic AuthName "This Area is Password Protected" AuthUserFile /full/path/to/.htpasswd Require valid-user