PHP Classes

Perfect Authentication Class: Authenticate users restrict access to site areas

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 36%Total: 9,071 All time: 171 This week: 146Up
Version License Categories
pauth 1.0GNU General Publi...User Management, Security


This class is meant to authenticate users and store authentication session identifiers in cookies.

The class is also capable of managing the list of authorized users in a file stored in the server.

The authentication identifier contains an hash value that is stored in user computer by the means of cookies. The hash value is also stored on a temporary file on the server to verify that the authenticity of the user. This is meant to prevent that unauthorized users forge authentication cookies, thus making the system more secure.

Picture of Igor Ribeiro de Assis
Name: Igor Ribeiro de Assis <contact>
Classes: 2 packages by
Country: Brazil Brazil
Age: 37
All time rank: 1358 in Brazil Brazil
Week rank: 246 Down16 in Brazil Brazil Down

  Files folder image Files  
File Role Description
Plain text file class.pauth.php Class The Class File
Plain text file class.pauth_0_1_1.php Class New Release of the class with the option Cookie Path, added by Lian Fuentes.
Accessible without login Plain text file demo.php Example A simple demo of how to use the class
Accessible without login Plain text file gpl Lic. The GPL License File

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:171
This week:146Up
 User Ratings  
 All time