PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 59%Total: 1,311 All time: 2,948 This week: 488Up
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: ???
Age: 45
All time rank: 25
Week rank: 295 Down

  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
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,311
This week:0
All time:2,948
This week:488Up
 User Ratings  
 
 All time
Utility:85%StarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:-
Examples:-
Tests:75%StarStarStarStar
Videos:-
Overall:59%StarStarStar
Rank:1352