Login   Register  
PHP Classes
elePHPant
Icontem

HHSecureObject: Authenticate users with accounts defined in arrays

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-11-08 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 605 This week: 1All time: 4,734 This week: 1,134Up
Version License Categories  
hhsecureobject 1.0BSD LicenseHTTP, User Management
Description Author  

This class can be used to authenticate users that can access to Web site pages.

The accounts of the users are defined as permission arrays in PHP scripts.

The class uses HTTP Basic authentication to request that the users authenticate themselves.

When an user is authenticated successfully, the class stores the authentication status in session variables, so the authentication dialog is not opened again while the session lasts.

The class also implements the logout functionally by invalidating the logged in status session variables.

Picture of Hermawan Haryanto
Name: Hermawan Haryanto <contact>
Classes: 1 package by
Country: Indonesia Indonesia
Age: 40
All time rank: 272147 in Indonesia Indonesia
Week rank: 926 Up16 in Indonesia Indonesia Up

  Files folder image Files  
File Role Description
Files folder imageinclude (3 files)
Accessible without login Plain text file logout.php Example Sample of Logout Page
Accessible without login Plain text file index.php Example Sample of Protected Page

  Files folder image Files  /  include  
File Role Description
  Accessible without login Plain text file hhsecureobject.php Aux. Gatherer
  Accessible without login Plain text file hhsecureobject.config.php Conf. Config File
  Plain text file hhsecureobject.class.php Class Main Object

 Version Control Unique User Downloads Download Rankings  
 0%Total:605All time:4,734
 This week:1This week:1,134Up
 User Comments (1)  
 
Excellent
5 years ago (kishore kumar)
70%StarStarStarStar