DirectoryPass is a simple Perl script which you can use to add an additional layer of security to your sql-ledger installation using htaccess file. This script helps you enable http authentication for any folder and add/remove users which are stored in htpasswd file.
Installation is simple:
- Drop the dirpass.cgi to your sql-ledger folder.
- Change permissions to 755 (or whatever you need to)
- Run it (http://your.server.name/sql-ledger/dirpass.cgi)
On first run, script will ask to setup an admin password for its own security and then let you browse folders and protect folders with users and passwords.
By default this script comes with perl executable path on a windows machine. I changed it to
Screen shots are below: