Menu

Tree [r4] /
 History

HTTPS access


File Date Author Commit
 icons 2008-10-28 safeercm [r2] Removing Unused Icons
 README 2008-10-28 safeercm [r4] Added license and readme
 adduser.php 2008-10-28 safeercm [r3] Added license and readme
 changepass.php 2008-10-28 safeercm [r3] Added license and readme
 config.php 2008-10-28 safeercm [r3] Added license and readme
 deluser.php 2008-10-28 safeercm [r3] Added license and readme
 favicon.ico 2008-10-28 safeercm [r1] First committ on 28-10-2008
 home.php 2008-10-28 safeercm [r3] Added license and readme
 index.php 2008-10-28 safeercm [r3] Added license and readme
 license.txt 2008-10-28 safeercm [r4] Added license and readme
 listuser.php 2008-10-28 safeercm [r3] Added license and readme
 userpass.php 2008-10-28 safeercm [r3] Added license and readme

Read Me

                        HT PASSWORD MANAGER

Requires - Apache + PHP
Tested on Apache 2 + PHP 5

Licensed: LGPL (See license.txt for details)

Use: 

Managing users in apache's htpasswd files.

Features:

* Manages multiple htpasswd files
* Administrators can be specified for each file.
* Identifies the role of logged in user and redirects apporpriately
* Administrators can: Add/Remove/List/Search/Reset Password for all users
* Normal Users can reset their own password

Installation and configuration.

Copy the package into a desired location under your webroot.
Open config.php file.
For each passwd file, set the following three values:

$realm[0] -> A friendly name to identify the passwd file.  Users will see only this name.
$pwdfile[0] -> Path to the passwd file(can be absolute or relative to webroot).  The file should be writable by webserver user(nobody/apache).
$admin[0] -> User with administrative privilege.  Should be a memeber of the $pwdfile.  Multiple administrators can be specified by comma seperation.

To manage another passwd file repeat the same steps, with incrementing the index inside [], ie;
$realm[1]
$pwdfile[1]
$admin[1]

Two examples are given in the config file itself.  Uncomment and edit them for your use.