Login   Register  
PHP Classes
elePHPant
Icontem

PHP CSRF Protector: Generate CSRF protection tokens

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-07-02 (4 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 143 All time: 7,524 This week: 1,585Up
Version License PHP version Categories  
php-csrf-protector 1.0BSD License3.0HTML, PHP 5, Security
Description Author  

This class can generate CSRF protection tokens.

It can create a new token based on the user browser agent, the user computer IP address and random values. The generated token is stored in a session variable.

The class can generate form input values to pass the token when the form is submitted.

It can also verify the passed token against what is stored in the session variable.

Picture of Dilnei Soethe Spancerski
Name: Dilnei Soethe Spancerski <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 26
All time rank: 3698301 in Brazil Brazil
Week rank: 1909 Up143 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Plain text file CSRFProtector.php Class Class source
Accessible without login Plain text file README.md Data Documentation

 Version Control Unique User Downloads Download Rankings  
 100%Total:143All time:7,524
 This week:0This week:1,585Up