PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 10,742 All time: 115 This week: 120Down
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: 42
All time rank: 14611 in France France
Week rank: 530 Down15 in France France Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:10,742
This week:0
All time:115
This week:120Down
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2201