Jump to content

HTML sanitization

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ihope127 (talk | contribs) at 07:35, 23 December 2009 (We seem to be missing this article. I've created it, to encourage people to start writing.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

HTML sanitization is the process of examining an HTML document and producing a new HTML document that preserves only whatever tags are designated "safe". HTML sanitization can be used to protect against cross-site scripting attacks by sanitizing any HTML code submitted by a user.