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 49%Total: 10,747 This week: 1All time: 115 This week: 560Down
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: 411 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,747
This week:1
All time:115
This week:560Down
User Ratings User Comments (1)
 All time
Utility:71%StarStarStarStar
Consistency:71%StarStarStarStar
Documentation:-
Examples:67%StarStarStarStar
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2752