PHP Classes

HHSecureObject: Authenticate users with accounts defined in arrays

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 625 This week: 1All time: 5,053 This week: 560Up
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: 49
All time rank: 299049 in Indonesia Indonesia
Week rank: 411 Up7 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:625
This week:1
All time:5,053
This week:560Up
User Ratings User Comments (1)
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1018
 
Excellent
14 years ago (kishore kumar)
70%StarStarStarStar