Search This Blog

Showing posts with label sanitization in web app. Show all posts
Showing posts with label sanitization in web app. Show all posts

Wednesday, June 2, 2010

Sanitize HTML

Takes a provided HTML string and removes any potentially dangerous XSS HTML tags using a whitelist approach. Useful when you want to allow a small subset of "safe" HTML tags in user content.

you may write your own code or

you can use OWASP API
http://www.owasp.org/index.php/Category:OWASP_Enterprise_Security_API

Hit Counter


View My Stats