Login   Register  
PHP Classes
elePHPant
Icontem

Pareto Security: Filter requests to discard malicious values

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 (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-01-14 (11 months ago) RSS 2.0 feedStarStarStarStar 68%Total: 514 All time: 5,219 This week: 1,325Up
Version License PHP version Categories  
pareto_security 1.0.0GNU General Public Lice...5PHP 5, Security
Description Author  

This class can filter requests to recognise malicious values and either call a 403 access denied ( default ), or optionally add the offending IP address to the banned list in the root htaccess file of a website.

It processes the REQUEST_URI, QUERY_STRING, $_GET, $_POST, $_COOKIE to detect values with a blacklisted format.

The class can also block accesses of blacklisted user agents and request types that are not whitelisted.

The IP addresses of blocked requests can be optionally added to .htaccess deny list.

Picture of Te Taipo
Name: Te Taipo <contact>
Classes: 1 package by
Country: New Zealand New Zealand
Age: 45
All time rank: 291314 in New Zealand New Zealand
Week rank: 1770 Up9 in New Zealand New Zealand Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example Tests
Plain text file pareto_security.php Class Security Class

 Version Control Unique User Downloads Download Rankings  
 0%Total:514All time:5,219
 This week:0This week:1,325Up
User Ratings User Comments (1)  
 All time
Utility:100%StarStarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:68%StarStarStarStar
Rank:303
 
Thanks for this code.
1 year ago (Alfredito)
70%StarStarStarStar