PHP Classes

PHP CSRF Protector: Generate CSRF protection tokens

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 252 All time: 7,909 This week: 35Up
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
  Performance   Level  
Name: Dilnei Soethe Spancerski <contact>
Classes: 1 package by
Country: Brazil Brazil

Details

CSRFProtector

Protege os formulários contra ataque CSRF em PHP

Leia como usar em: http://www.dilneiss.blog.br/tecnicas-truques-aplicacao-web-segura-seguranca-entenda-previna-php/


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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:252
This week:0
All time:7,909
This week:35Up