Password protect folder using HTACCESS

1 · Subin Siby · Aug. 30, 2013, 3:35 p.m.
HTACCESS is able to protect folders with passwords. To password protect folders you should mention the location of .htpasswd – a file that contains the username and password to unlock the folder. First of all create a .htaccess file if doesn’t exists and create a .htpasswd file. Now Add username and password to the .htpasswd file which you can get from this simple tool. Add the following text in .htaccess : AuthName "This folder requires a login"...