DirectoryPass

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:

  1. Drop the dirpass.cgi to your sql-ledger folder.
  2. Change permissions to 755 (or whatever you need to)
  3. 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 #!/usr/bin/perl -w

Screen shots are below:


Browse Folders

Enable Protection

Manage Users

Leave a Reply