PHP Classes

HHSecureObject: Authenticate users with accounts defined in arrays

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 609 All time: 4,826 This week: 1,189Up
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: 41
All time rank: 278749 in Indonesia Indonesia
Week rank: 1481 Up29 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:609All time:4,826
 This week:0This week:1,189Up
 User Comments (1)  
6 years ago (kishore kumar)