Search This Blog

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

No comments:

Hit Counter


View My Stats