-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathREADME
More file actions
16 lines (12 loc) · 1023 Bytes
/
Copy pathREADME
File metadata and controls
16 lines (12 loc) · 1023 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
This PHP-Script is build to manage user-lists that're used in a http-basic-authentication process.
The authentication for this script itself is done using this user-list. Therefore you have to relogin if you're
changing your password.
It's a usual php-script. There's no need to add an .htaccess file or some special configuration.
If you're using Apache and run php as FastCGI-module you may also run into this issue:
http://stackoverflow.com/questions/6775852/symfony-2-receiving-anonymous-token-after-basic-authentication#answers
You just need to copy the file config.template.php to config.php - that's all.
Now the file htusers will be used as user-list. It contains only one user called "admin" whose password is "admin".
Feel free to use and modify the script. Please provide your improvements as forge of this repository.
TODO:
* Implement sha1 password-encryption compatible to the apache-implementation: http://httpd.apache.org/docs/2.1/misc/password_encryptions.html
* Create, edit and delete users as admin