Having seen many recent discussions about how to go about password protecting directories on your web host, I decided to see what could be done to help make the process a little easier.
Since many web hosts only offer FTP access, (no shell) it makes it rather difficult to use the shell command htpasswd to create new users for the passworded directory. This new script creates both .htaccess and .htpasswd files, and fills in all the blanks for you, so all you need to do is answer the questions, download the files it creates and upload them to your host. Nice and easy.
The new script is available here: Online .htaccess generator tool.
If anyone has feedback on anything I should change or add, please use the “contact us” link in the main menu to drop us a line.
Regards
Franki