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: Tim Hollebeek <tholleb_at_teknowledge.com>
Date: Mon, 7 Nov 2005 10:46:49 -0800

 
> 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."

You're proposing a small language L where the input is translated
into a safe subset of HTML if the input is in L, and rejected otherwise.

What are the advantages of this over the special case L = the safe
subset (and the translation is the identity function), which we were
discussing?

-Tim
Received on Nov 07 2005

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