PHP Classes
elePHPant
Icontem

Security_Token: Generate tokens to protect against CSRF attacks

Recommend this page to a friend!
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-08-26 (9 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 1,292 This week: 1All time: 2,870 This week: 1,047Up
Version License PHP version Categories
security_token 1.0.0GNU General Publi...5.0HTML, PHP 5, Security
Description Author

This package can be used to generate security tokens to protect against cross-site request forgery (CSRF) attacks.

It generate a time based token to be used for instance in hidden form fields.

The presence of the token in the submitted form values can be verified and an eventual attack can be avoided by not processing the form if the token is not present or is not valid.

Picture of MARY Matthieu
Name: MARY Matthieu <contact>
Classes: 19 packages by
Country: France, Metropolitan France, Metropolitan

  Files folder image Files  
File Role Description
Files folder imageSecurity (1 file)
Files folder imageTest (1 directory)
Files folder imageTestlaunchers (1 directory)
Files folder imageValidator (3 files)
Accessible without login Plain text file Autoload.php Aux. loader
Accessible without login Plain text file LICENCE Lic. GPL Licence file

  Files folder image Files  /  Security  
File Role Description
  Plain text file Token.php Class class which manage token

  Files folder image Files  /  Test  
File Role Description
Files folder imageValidator (2 files)

  Files folder image Files  /  Test  /  Validator  
File Role Description
  Plain text file Base.php Class unit test case for Validator_Base class
  Plain text file SessionToken.php Class unit test case for Validator_SessionToken class

  Files folder image Files  /  Testlaunchers  
File Role Description
Files folder imageValidator (2 files)

  Files folder image Files  /  Testlaunchers  /  Validator  
File Role Description
  Accessible without login Plain text file Base.php Test launch unit test case Test_Validator_Base
  Accessible without login Plain text file SessionToken.php Test launch unit test case Test_Valdator_SessionToken.php

  Files folder image Files  /  Validator  
File Role Description
  Plain text file Base.php Class base class for validation
  Plain text file SessionToken.php Class check token from sessions
  Plain text file Token.php Class check token validity

Downloadsecurity_token-2007-08-26.zip 11KB
Downloadsecurity_token-2007-08-26.tar.gz 8KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Html Download .zip .tar.gz to generate output in our forms Required
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,292
This week:1
All time:2,870
This week:1,047Up
 User Ratings  
 
 All time
Utility:93%StarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:-
Tests:81%StarStarStarStarStar
Videos:-
Overall:65%StarStarStarStar
Rank:691