Login   Register  
PHP Classes
elePHPant
Icontem

Filter Class: Filter to prevent XSS, SQL injection, CSRF 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 Kumar Saurabh Sinha
Name: Kumar Saurabh Sinha <contact>
Classes: 1 package by
Country: India India
Age: 26
All time rank: 2014127 in India India
Week rank: 117 Up15 in India India Up


  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 (4)  >  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.0
PHP version: 4.0
License: Free For Educational Use
All time users: 1123 users
All time rank: 3102
Week users: 11 users
Week rank: 84 Up
 
  Groups   Rate classes User ratings   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


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (83%) Good (83%) Good (83%) - - - Not sure (58%) 1025
Month: 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.
  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.