LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] is libxml(2) insecure?

[ILUG] is libxml(2) insecure?

Baruch Even baruch at ev-en.org
Fri Oct 29 14:25:21 IST 2004


On Fri, 2004-10-29 at 09:25, Laur Ivan wrote:
> 1. Is this the generic case? The only place I remember seeing XML used is the 
> fontconfig (and more recently, D-BUS).

The tradition UNIX configs are like that, there is a growing tendency
towards XML config files which is not easy to understand as config files
should also be readable/editable by human beings and xml is not a format
for humans.

> 2. Besides the ability to include such linear files in scripts through ". 
> script", is there any other reason?

They are easy to change with a program, they are easy to check with a
program, updating the configs with a script is possible with grep and
sed.

I needed to do a similar thing with an XML config of fontconfig for a
Debian package and the change I do is brittle, I'd actually need to
write a program to do this correctly, this is against the unix tradition
of using small tools that do one thing correct and combine them.

> 3. Is the XML library a security risk? Would it be ok use it for configuration 
> storage/processing?

It's not a security risk, but it might very well be a HCI risk.

My experience with XML hasn't been a very good one, other formats are
easier to parse and easier to generate.

Baruch




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell