PHP Classes

Classes of Simon Emery

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Simon Emery (1)  >  Mission progress status  >  Reputation  
Picture of Simon Emery
Name: Simon Emery <contact>
Classes: 1
Country: United Kingdom
Age: ???
All time rank: 2661122 in United Kingdom
Week rank: 180 Up5 in United Kingdom Up
All time users: 796
Week users: 0
Innovation award
Innovation award
Nominee: 1x
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image allowHTML  
PHP Programming Innovation award nominee
December 2010
Number 9
Filter insecure HTML following OWASP AntiSamy
This class can be used to filter insecure HTML following OWASP AntiSamy rules.

It 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.
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 81% 81% - 81% - - 56% 1732
Month: Not yet rated by the users


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z