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: 623 All time: 5,051 This week: 266Up
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: 48
All time rank: 298250 in Indonesia Indonesia
Week rank: 563 Up12 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  
This week:0
All time:5,051
This week:266Up
User Ratings User Comments (1)
 All time
13 years ago (kishore kumar)