Login   Register  
PHP Classes
elePHPant
Icontem

HN_htusers: Manage Apache user and group authentication files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Horst Nogajski
Name: Horst Nogajski <e-mail contact>
Packages: 7 Browse all classes by Horst Nogajski Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: 45
All time rank: 475 in Germany Germany
Week rank: 1353 Down68 in Germany Germany Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz  
This class can be used to manage Apache user and group authentication files.

It can manage Apache .htaccess and .htgroup files to define users, groups and passwords for authentication. Optionally it can manage extra information for users, stored in a third file.

It uses Apache-style MD5-crypt passwords to be portable between win and *nix platforms.

The class provide a forms based user interface to manage the authorization files definitions of users and groups.

It can also perform HTTP basic authentication for users defined in the configuration files directly from PHP instead of having it done by Apache.

This class is based on prior work by Jarno Elonen and Sarah King.

  Classes of Horst Nogajski  >  HN_htusers  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: HN_htusers
Base name: hn_htusers
Description: Manage Apache user and group authentication files
Version: 1.1
PHP version: 4.2
License: Freely Distributable
All time users: 384 users
All time rank: 5886
Week users: 0 users
Week rank: 2088 Equal
 
  Groups   Screenshots Screenshots   Freshmeat project  
  Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image User Management User records, authentication and session handling View top rated classes
Group folder image Configuration Configuration formats parsing and generation View top rated classes

  Files folder image Screenshots  
File Role Description
Files folder imagescreenshots (4 files)

  Screenshots  /  Files folder image screenshots  
shows Manageform used with htuserfile, htgroupfile and htinfofile
File Role Description
  Accessible without login Image file screen4.jpg Screen shows Manageform used with htuserfile, htgroupfile and htinfofile
  Accessible without login Image file screen1.jpg Screen shows Manageform used only with htuserfile
  Accessible without login Image file screen2.jpg Screen shows Manageform used with htuserfile and htinfofile
  Accessible without login Image file screen3.jpg Screen shows Manageform used with htuserfile and htgroupfile


  Freshmeat project  
HN_htusers
Project record: hn_htusers
Popularity score: 15.52
Vitality score: 40.49

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Online Demo Complete Example-Package as Online Demo

  Files folder image Files  
File Role Description
Files folder imageexamples (5 files, 6 directories)
Plain text file hn_htusers.class.php Class the classfile
Accessible without login Plain text file hn_htusers.manager.php Appl. The Management Script
Accessible without login Plain text file LICENSE.txt Lic. licence
Accessible without login Plain text file README.txt Doc. readme, should be read at first
Accessible without login HTML file short_documentation.html Doc. Documentation, how to initialize, configurate and execute the class

  Files  /  Files folder image examples  
File Role Description
Files folder imageadmins_without_htaccess_file (5 files)
Files folder imageeditors_with_htaccess_file (5 files)
Files folder imageunit_tests (3 files)
Files folder imagevisitors_with_htaccess_file (2 files)
Files folder image_htfiles (4 files)
Files folder image_libs (2 files)
  Plain text file .htaccess Data apache configurationfile, need absolute pathes to htuser- and htgroupfile
  Plain text file example_manager.inc.php Example setup the class in different ways to suit all examples
  HTML file index.html Example Frameset that hosts examples
  HTML file index2.html Example Menuframe with all Example-Links
  HTML file index3.html Example examples welcome screen ;-)

  Files  /  examples  /  Files folder image admins_without_htaccess_file  
File Role Description
  Plain text file example.woh1.php Example Form to Admins, only with htusers
  Plain text file example.woh2.php Example Form to Admins, with htusers and htinfos
  Plain text file example.woh3.php Example Form to Admins, with htusers and htgroups
  Plain text file example.woh4.php Example Form to Admins, with htusers, htinfos and htgroups
  Plain text file htaccess.inc.php Example HTTP authentication with PHP

  Files  /  examples  /  Files folder image editors_with_htaccess_file  
File Role Description
  Plain text file .htaccess Data apache configurationfile
  Plain text file example.wh1.php Example Form to NonAdmins, only with htusers
  Plain text file example.wh2.php Example Form to NonAdmins, with htusers and htinfos
  Plain text file example.wh3.php Example Form to NonAdmins, with htusers and htgroups
  Plain text file example.wh4.php Example Form to NonAdmins, with htusers, htinfos and htgroups

  Files  /  examples  /  Files folder image unit_tests  
File Role Description
  Plain text file .htaccess Data apache configuration file
  Plain text file setup_test.php Test Setup / Configuration Test, should be run, after (new) installion
  Plain text file unit_test.php Test Unit-Test, loads data and run test, independent from htfiles

  Files  /  examples  /  Files folder image visitors_with_htaccess_file  
File Role Description
  Plain text file .htaccess Data apache configurationfile
  Plain text file index.php Example shows how to embedd a form for password-changes into existing pages

  Files  /  examples  /  Files folder image _htfiles  
File Role Description
  Plain text file .htaccess Data apache configurationfile
  Plain text file .htgroup Data apache configurationfile, contains groupnames and groupmembers
  Plain text file .htinfo Data apache configurationfile, contains user : extended-info combinations
  Plain text file .htuser Data apache configurationfile, contains user : encryptedpassword combinations

  Files  /  examples  /  Files folder image _libs  
File Role Description
  Plain text file .htaccess Data apache configurationfile
  Plain text file example_class.inc.php Class Classfile for examples

Download Download all files: hn_htusers.tar.gz hn_htusers.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.