Re: Cross-site scripting (XSS) defense

2006-06-16 Thread Lee Harr
On 2006-06-16, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Is there a module (or, better yet, sample code) that scrubs > user-entered text to remove cross-site scripting attacks, while also > allowing a small subset of HTML through? > > Contemplated application: a message board that allows peopl

Re: Cross-site scripting (XSS) defense

2006-06-16 Thread Jim
Have a look at http://feedparser.org/docs/html-sanitization.html . Jim -- http://mail.python.org/mailman/listinfo/python-list

Re: Cross-site scripting (XSS) defense

2006-06-16 Thread Jim
Have a look at http://feedparser.org/docs/html-sanitization.html . Jim -- http://mail.python.org/mailman/listinfo/python-list

Cross-site scripting (XSS) defense

2006-06-16 Thread johnzenger
Is there a module (or, better yet, sample code) that scrubs user-entered text to remove cross-site scripting attacks, while also allowing a small subset of HTML through? Contemplated application: a message board that allows people to use , , and so on, but does not allow any javascript, vbscript,