Antz_TagFilter

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: ,

This entry was posted on Monday, June 1st, 2009 at 11:46 pm
Entry is filed under Classes.
Read original posting here.
You can follow any responses to this entry through the RSS 2.0 feed.

You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

You must be logged in to post a comment.