FREE .htaccess Password Generator

This tool to generates all the necessary codes needed to password protect a directory or selects files within it on your site via .htaccess. It encrypts the desired passwords, then outputs the corresponding codes to put inside your .htaccess and .htpasswd files.

Enter required data
Usernames & Passwords, pair per line, separated by ":"
Relative path to .htpasswd file
Files to protect, separated with a comma