PHP Classes

Anti-Hacking Session Manager: User session management with security features

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
StarStarStar 49%Total: 10,751 All time: 115 This week: 41Up
Version License Categories
anti_hack_session 1.0.0GNU General Publi...User Management, Security
Description 

Author

This class can manage user access sessions providing some security features.

It verifies whethers the IP address and the browser identification (user agent) are not different from those used when the session is created. Otherwise, the session is flagged as invalid. An exception is opened for users accessing the site via AOL, due to the rotating proxy problem.

It also provides functions for setting, getting, removing and checking the existance of individual session variables.

The session variables can be referred using dots for separating the names of indexes of sessions variables stored in multi-dimensional associative arrays, like for instance, "config.ip" instead for $_SESSION["config"]["ip"].

In French:

Cette classe contrôle que l'adresse ip et le user-agent sont identiques tout au long de la session. Si ce n'est pas le cas, c'est que votre session a été "volée". Cette classe vous permet aussi de gérer les variables de session plus simplement.

Picture of Benjamin Boigienman
Name: Benjamin Boigienman <contact>
Classes: 3 packages by
Country: France France
Age: 43
All time rank: 14711 in France France
Week rank: 197 Down10 in France France Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (3)  
File Role Description
Plain text file class_session.inc.php Class Class
Accessible without login Plain text file init_session.php Example Session initialization
Accessible without login Plain text file test_session.php Example Test

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:10,751
This week:0
All time:115
This week:41Up
User Ratings User Comments (1)
 All time
Utility:71%StarStarStarStar
Consistency:71%StarStarStarStar
Documentation:-
Examples:67%StarStarStarStar
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2799