allowHTML
Package:
Summary:
Filter insecure HTML following OWASP AntiSamy
Groups:
Author:
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.
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.
Comments are closed.