Jump to content

HTML sanitization

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 76.121.88.80 (talk) at 07:08, 1 May 2011. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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 and SQL injection attacks by sanitizing any HTML code submitted by a user.