Posts Tagged ‘antz’

Antz_TagFilter

Monday, June 1st, 2009

Package:
Antz_TagFilter
Summary:
Strip malicious tags from HTML documents
Groups:
HTML, PHP 5, Security
Author:
Anthony Gallon
Description:
This class can be used to strip malicious tags from HTML documents.

It takes as parameters lists of authorized and denied tags and attributes.

The class parses an HTML document to keep authorized tags and removing denied tags and attributes combinations.

It returns the HTML of the resulting filtered document.


Tags: ,
Posted in Classes | Comments Off on Antz_TagFilter