PHP Classes

PHP CSRF Protection class: Prevent CSRF request security attacks

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-09-19 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 649 This week: 3All time: 4,577 This week: 530Up
Version License PHP version Categories  
csrf-protector 1BSD License5.4HTML, PHP 5, Security
Description Author  

This package can be used to prevent CSRF request security attacks.

It can register a PHP shutdown function that will capture the current page output so it can be captured to be processed by the class.

It can parse the HTML of the captured page and replace the URLs of the links and forms to add a token that can be verified later to prevent Cross-Site Request Forgery attacks by validating the token.

Picture of jstar88
Name: jstar88 <contact>
Classes: 6 packages by
Country: Italy Italy
Age: ???
All time rank: 146258 in Italy Italy
Week rank: 399 Up18 in Italy Italy Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imagecore (3 files)
Files folder imageexamples (1 file)
Plain text file CSRFProtector.php Class Class source
Accessible without login Plain text file native.history.js Data Auxiliary data
Accessible without login HTML file readme.html Doc. Documentation
Accessible without login Plain text file Doc. Documentation

  Files folder image Files  /  core  
File Role Description
  Plain text file CSRFBackEnd.php Class Class source
  Plain text file CSRFFrontEnd.php Class Class source
  Plain text file TokenManager.php Class Class source

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file Sample.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 87%Total:649All time:4,577
 This week:3This week:530Up