PHP Classes
elePHPant
Icontem

Filter Class: Filter to prevent XSS, SQL injection, CSRF attacks

Recommend this page to a friend!

  Author Author  
Picture of Kumar Saurabh Sinha
Name: Kumar Saurabh Sinha <contact>
Classes: 1 package by
Country: India India


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This package can filter values to prevent XSS, SQL injection, CSRF security attacks.

The main class can filter one value or an array of values by stripping HTML tags, adding slashes and escaping HTML entities.

Another class can prevent Cross-Site Request Forgery attacks by generating a secret token to be passed in forms, so it can verified later to avoid forms submitted by JavaScript code that executes automatically from other site pages.

  Classes of Kumar Saurabh Sinha  >  Filter Class  >  Download Download .zip .tar.gz  >  Support forum Support forum (5)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Filter Class
Base name: filter-class
Description: Filter to prevent XSS, SQL injection, CSRF attacks
Version: 1.1
PHP version: 4.0
License: Free For Educational Use
 
  Groups   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Validation Validation algorithms View top rated classes
Group folder image Security Security protection and attack detection View top rated classes


  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.

  Files folder image Files  
File Role Description
Plain text file FilterClass.php Class This class manages the data filteration for XSS and SQL Injection
Plain text file RestrictCSRF.php Class This is the RestrictCSRF Class
Accessible without login Plain text file usage_csrf.txt Doc. Readme for CSRF
Accessible without login Plain text file usage_filter_class.txt Doc. Readme for Filterclass

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