PHP Classes

HHSecureObject: Authenticate users with accounts defined in arrays

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 625 All time: 5,056 This week: 673Up
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: 50
All time rank: 299549 in Indonesia Indonesia
Week rank: 178 Up6 in Indonesia Indonesia Up

  Files folder image Files (5)  
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 (5)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:625
This week:0
All time:5,056
This week:673Up
User Ratings User Comments (1)
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1021
 
Excellent
15 years ago (kishore kumar)
70%StarStarStarStar