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 (8 months ago) RSS 2.0 feedStarStarStarStar 68%Total: 502 This week: 2All time: 5,250 This week: 847Up
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: 290514 in New Zealand New Zealand
Week rank: 748 Up5 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:502All time:5,250
 This week:2This week:847Up
User Ratings User Comments (1)  
 All time
Utility:100%StarStarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:68%StarStarStarStar
Rank:294
 
Thanks for this code.
1 year ago (Alfredito)
70%StarStarStarStar