Htaccess password protect code generator

Password protect folders or files using htaccess. Users will need to enter their username and password to gain access to files or folders. If you do not stipulate a file or directory to protect, then the directory that the .htaccess file is in will require a password to access.
Htaccess password protect details
Username:
Password:
Path to password file:
Full server path to the folder where the .htpassword file will be stored, including leading slash
Message to display in popup:
File/directory to protect:
Leave blank to protect current directory
Share the Htaccess password protect code generator on Facebook