allowHTML

Package:
allowHTML
Summary:
Filter insecure HTML following OWASP AntiSamy
Groups:
HTML, Security, Validation
Author:
Simon Emery
Description:
This class can be used to filter insecure HTML following OWASP AntiSamy rules.

I can parse HTML documents using DOM document objects and then remove unsafe tags, attributes and CSS parameters.

It uses a configurable whitelist to determine which tags, attributes and CSS style parameters are allowed.

The class may also apply filtering rules defined in a separate AntiSamy XML rules file.


Powered by Gewgley