.htpasswd and .htaccess generator
 
 
This tool generates the necessary .htpasswd and .htaccess files to protect a directory from unauthorized access.

Click here for a demonstration.
username=john.smith, password=hissecret
username=jane.doe, password=hersecret

More information about .htpasswd and .htaccess, see quick guide:
"Password protecting directories"

rss

Input for .htpasswd file:
Username(s)/Password(s) *:   Enter on each separate line a username: Enter on each line the corresponding password:
Password encryption used *: Help MD5 APR1-MD5 Standard DES

Input for .htaccess file:
Auth Name *: Help
.htpasswd file location *:
End with a trailing slash.
Help
 
* = required    
 





.htpasswd generator output:





.htaccess generator output: