Security Filter for Request HTTP Data

Package:
Security Filter for Request HTTP Data
Summary:
Filter dangerous values from request variables
Groups:
HTTP, Security
Author:
Roman Shneer
Description:
This class can be used to filter dangerous values from request variables.

It can traverse the $_GET, $_POST, $_REQUEST and $_COOKIE request super-global array variables and reset the entries that match certain regular expressions that identify potential dangerous values.

Currently filter values that contain SQL retrieval queries, cross-site scripting attacks, hexadecimal values, calls to base64_decode and system functions.


Powered by Gewgley