Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos network security services platform







WebApp Sec: Re: whitelisting HTML tags

Re: whitelisting HTML tags

From: Adam Shostack <adam_at_homeport.org>
Date: Thu, 3 Nov 2005 10:02:32 -0500

I'm fond of the BB/Markdown sorts of solutions, which use an HTML-like
language which you translate into HTML. If your parser tosses things
it doesn't understand, this can be a good solution to the (often real)
requirement of "we need to let users enter more than plain text."

Adam

On Wed, Nov 02, 2005 at 11:17:33AM -0500, Tim wrote:
|
| > This is exactly the sort of thing I'm looking for. Anyone know of any
| > libraries (preferably in Java) that already do this?
|
| I personally feel it is a bad idea to allow any HTML, but if it is a
| requirement, you might be best off requiring users use XHTML tags. That
| way you can create a restrictive XML DTD for them, and there are plenty
| of tools out there that can enforce that.
|
| tim
Received on Nov 04 2005

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]