Login   Register  
PHP Classes

PHP CSRF Protection class: Prevent CSRF request security attacks

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of jstar88
Name: jstar88 <contact>
Classes: 6 packages by
Country: Italy Italy
Age: ???
All time rank: 154163 in Italy Italy
Week rank: 252 Up10 in Italy Italy Up
Innovation award
Innovation award
Nominee: 2x

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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.

  Classes of jstar88  >  PHP CSRF Protection class  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP CSRF Protection class
Base name: csrf-protector
Description: Prevent CSRF request security attacks
Version: 1
PHP version: 5.4
License: BSD License
All time users: 519 users
All time rank: 5150
Week users: 6 users
Week rank: 259 Up
  Groups   Rate classes User ratings   Applications   Related pages   Files Files  

Group folder image HTML HTML generation and processing View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Security Security protection and attack detection View top rated classes

  User ratings  
Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related pages  
CSRFProtector on github

  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 README.md 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

Install with Composer Install with Composer - Download Download all files: csrf-protector.tar.gz csrf-protector.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.