Re: [xml-dev] Extra headaches of securing XML

From
Gregory Murphy <>
To
Date
2004-03-30T19:13:19Z
ID
<Pine.GSO.4.10.10403301111250.19240-100000@gris>
Thread
Re: [xml-dev] Extra headaches of securing XML
On Tue, 30 Mar 2004, Rich Salz wrote:

> > and I'd bet a zillion bucks that there are awful vulnerabilities lurking 
> > in the cracks where nobody could possibly have thought to look.  -Tim
> 
> There are some that are inherent in XML itself: entities for example, 
> and the fact that there are no size limits (element name with 1e6 
> characters, or 1e6 attributes, or a document 1e6 elements deep). This 
> makes XML inherently more "dangerous" than classic binary formats like 
> ASN.1/DER.

Maybe SGML would be more secure? Hard limits on element name sizes and
attribute counts could be enforced in the SGML declaration.

// Gregory Murphy.  Isopaleocopria.