PHP Classes

Pareto Security: Filter requests to discard malicious values

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (2 years ago) RSS 2.0 feedStarStarStarStar 68%Total: 541 All time: 5,206 This week: 1,167Up
Version License PHP version Categories  
pareto_security 1.0.0GNU General Publi...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
  Performance   Level  
Name: Te Taipo <contact>
Classes: 1 package by
Country: New Zealand New Zealand
Age: 47
All time rank: 294814 in New Zealand New Zealand
Week rank: 1585 Up8 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:541All time:5,206
 This week:0This week:1,167Up
User Ratings User Comments (1)  
 All time
Thanks for this code.
2 years ago (Alfredito)