System:Security

From Aspen Documentation

The Security class cleans incoming data and helps escaping items properly.

Note: Although the html and superglobal security and purification classes are a part of the Aspen security suite, they are contained within their own member variables and are not linked to the security class.

Function Description
clean_slashes Strips user/automatically-added escape slashes out of a string or array.
dbescape Normalizes and escapes data for input into the database. Currently only MySQL is supported. This function is automatically called by the Model class when generating queries.