xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5
- From: "Jeff Williams" <jeff.williams AT aspectsecurity.com>
- To: <xom-interest AT lists.ibiblio.org>
- Cc: Elliotte Harold <elharo AT metalab.unc.edu>
- Subject: Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5
- Date: Mon, 11 Dec 2006 15:04:15 -0500
Elliotte Harold wrote:
>> Which was the right answer. You're advocating a "blacklist" kind of
>> security which doesn't work. A "positive" or "whitelist" security
model
>> (where you deny everything and create exceptions for the things you
know
>> should be allowed) is generally simpler and much more secure.
>
> Either you let in XML or you don't. If you do let it in the robust
> nature of well-formedness and optional validity checking, means XML
> solutions are more secure. I'm much more confident with an XML system
> than I am with anything hand-rolled, including fake XML parsers.
Gosh, I guess it's impossible to attack anything with XML in it. I'm
going to upgrade my rainbow- and puppy-based security system to "happy
thoughts 2.0", now with XML.
So what if the parser is better? The point is that it's easy to send
around attacks inside XML that's well-formed and validated. If a
security person is concerned about what's actually inside, good. They
need to make sure the data is safe enough to use. Is it going to a
database? Control business logic? Store in a file? Render in browser?
Some other interpreter?
So don't add a feature to XOM - I don't care. But just because you've
received "valid" XML doesn't mean you should trust it.
--Jeff
-
Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5,
Jeff Williams, 12/11/2006
-
Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5,
Elliotte Harold, 12/11/2006
-
Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5,
Jeff Williams, 12/11/2006
-
Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5,
Elliotte Harold, 12/11/2006
-
Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5,
Wolfgang Hoschek, 12/11/2006
-
Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5,
Adam Batkin, 12/12/2006
-
Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5,
Wolfgang Hoschek, 12/12/2006
- Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5, Elliotte Harold, 12/12/2006
- Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5, Wolfgang Hoschek, 12/12/2006
- Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5, John Cowan, 12/12/2006
-
Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5,
Wolfgang Hoschek, 12/12/2006
-
Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5,
Adam Batkin, 12/12/2006
-
Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5,
Michael Kay, 12/12/2006
-
[XOM-interest] Subject heading is corrupted,
peter murray-rust, 12/12/2006
- Re: [XOM-interest] Subject heading is corrupted, Randall R Schulz, 12/12/2006
-
[XOM-interest] Subject heading is corrupted,
peter murray-rust, 12/12/2006
-
Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5,
Wolfgang Hoschek, 12/11/2006
-
Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5,
Elliotte Harold, 12/11/2006
-
Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5,
Jeff Williams, 12/11/2006
-
Re: [XOM-interest] XOM-interest Digest, Vol 47, Issue 5,
Elliotte Harold, 12/11/2006
Archive powered by MHonArc 2.6.24.