Tools for securing your XML documents

Top related stories

The W3C offers two specifications for securing your XML documents, XML Signature and XML Encryption. Find out which tools can help create secure XML documents that adhere to these standards.

One of the most common methods of securing XML documents during a transaction is to use a secure transport layer such as SSL. The major downside to this approach is that it can't protect documents outside the network the transport layer safeguards. And most transactions involve at least three networks: yours, the Internet, and your partner's.

To help alleviate problems securing XML, the W3C has created specifications for both digitally signing and encrypting XML documents. These specifications, called XML Signature and XML Encryption, respectively, are strong blueprints for protecting your XML transactions. The only problem is finding tools to implement them. Let's look at a few available tools and the functionality they offer.

Apache security
When thinking of XML tools, one of the first names that comes to mind is the Apache Software Foundation. Apache is famous for its prolific Web server, and its XML tools are also quite popular. Both the Xalan and Xerces projects are the XML foundation for many Java applications that require XML parsing.

Expanding on the success of its XML parsers, Apache has projects devoted to developing SOAP, XSL Formatting Objects, SVG, and now XML security. The Apache-XML-Security-J project provides a freely available Java implementation of the W3C's XML Encryption specification.

IBM XML Security Suite
If you're familiar with Apache, then you probably also know about IBM's alphaWorks, which is essentially a high-powered R&D team working on cutting-edge software technologies. The alphaWorks team has created XML Security Suite, which offers three types of document protection:

  • Authentication, which is handled using the W3C's XML Signature specification. This technology allows you to digitally sign XML documents and verify digital signatures.
  • Data encryption, which is based on the W3C's XML Encryption specification.
  • Encryption tools, which allow you to encrypt all or part of an XML document into a cipher and later decrypt the cipher to the original XML.

Finally, in typical IBM bravado, the alphaWorks team has added an authorisation layer called the XML Access Control Language. This technology lets only authorised users access documents

XML security library
The XMLSec Library is another freely available suite of tools for adding security to your XML applications. Unlike the Apache and IBM toolkits, the XMLSec Library is for C programmers, who will appreciate that it includes the source code. It supports the W3C specifications for XML Signature and XML Encryption, as well as Canonical XML and Exclusive Canonical XML.

Based on libxml and libxslt (both from the XML C library for Gnome) and OpenSSL, the XMLSec Library supports a variety of encryption algorithms, including Triple DES and AES. The XMLSec Library Web site includes documentation on interoperability for all three W3C specifications. The toolkit is available in a variety of formats, including source code, CVS, Linux RPM, and Windows binaries.

Commercial tools
In addition to these freely available tools, some commercial products offer XML security features. KeyTools from Baltimore Technologies includes an XML snap-in component, supports the W3C's XML Signature specification, and provides a complete key management system based on PKI. Java Crypto and Security Implementation (JCSI) from Wedgetail Communications supports the W3C specification for digital signatures with XMLDSig. XMLDSig can provide digital signatures for XML documents using HMAC-SHA1, DSA with SHA1, and RSS with SHA1. Like the XMLSec Library, XMLDSig includes an online interoperability matrix that illustrates compatibility of the implementation with the specification.

Talkback

Add your opinion

In order to post a comment, you need to be registered. (Sign In or register below)

Post your comment

Terms of Service - As a ZDNet registrant, and by using this service, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy.

Tech Blueprint

ZDNet Australia Live

#Spotify finally goes Live in Australia http://t.co/VFP8Xq8U

"@ZDNet: SAP gets huge cloud and extended business process boost with Ariba acquisition http://t.co/Ro04GlP4" ->#SAP strengthening its cloud

RT @zdnetaustralia: The Westpac board have gone paperless using iPads and a secure, home-grown app environment: http://t.co/F1d17bvF ^LH

BYOD: What the people think http://t.co/5Mh2x0u9 via @zite #byotchat #edtech

Interesting..Who uses Twitter for job search? http://t.co/KuWVItXK @zdnetcharlie

SAP gets huge cloud and extended business process boost with Ariba acquisition: SAP is focused on global cloud g... http://t.co/75ps1wG3

Microsoft exec: Dynamics CRM, AX aims to feast Oracle, SAP switchers http://t.co/XiC912eT

Polo Ralph Lauren est une marque de vêtements américaine haut de gamme fondée par Ralph Lauren en 1967. Dès 1969, une boutique Ralph ...

2 hours ago by geadwaylype on Westpac board goes paperless with iPads

#SAP wants to be the biggest cloud player by 2015... http://t.co/fLwejro7

RT @playbiggeradv: #SAP wants to be the biggest cloud player by 2015... http://t.co/fLwejro7

Handy overview of #Android 's major #security flaws: http://t.co/oiVrKSHb #mobile #infosec

The implications of NZ school Principals demanding access to student mobile devices | ZDNet http://t.co/jMSJXzpT

michael kors purse http://www.michaelkorshandbags-online.com/#37 ZLlrPzyxFdu

4 hours ago by YJyqTygeShm on Kodak files for bankruptcy, sues Samsung

Google closes Motorola buy: http://t.co/9ezoLnSg

War talk dominates #AusCERT 2012 - http://t.co/WbuTt174 - #security #cyber

Nuance launches in car voice activated platform (Zack Whittaker ZDNet) http://t.co/9mFEA93c

Sage simplifies SMB payment management http://t.co/gbAKq1ku

A farewell to democracy: Kaspersky http://t.co/zE2SAGol via @zdnetaustralia

Private Cloud: 'Everyone’s got one. Where's yours?': Promising the business a cloud delivered within your own ... http://t.co/jCsDqPlj

BYOD: What the people think http://t.co/hR1pokPG

@ZDNet
R they joking? iPhone only way 2 go!
New 5 out in October (we think) & will kill all copycat phones, AGAIN!!

Android's biggest security flaws - Security - News - ZDNet Australia http://t.co/6nYZRvhh
@sjshock

Google: We now own Motorola Mobility http://t.co/oeFgovzl

@dougsteelman RT @dellsecureworks : Security researcher Tim Vidas of Dell SecureWorks outlines problems with the Androi…http://t.co/BE4LmItr

EMC hones focus on hybrid cloud, big data http://t.co/To6Qpsz4 #bigdata #XBRL #GRC $$

#Security researcher Tim Vidas of @DellSecureworks outlines some concerns with the #Android operating system: http://t.co/gV8MgCiN

Article and Infographic: Retailers attracting the next-gen customer http://t.co/UL3E2Fct #socialmedianews

adgtqMkWiDg //www.2012chanelbagsforsale.com]chanel handbags RKaOBd krFiudOGrBw //www.2012chanelbagsforsale.com]chanel outlet GQXRRYsDNI...

8 hours ago by rfcdvpmubn on Deakin Uni opts for Cisco Unified Computing

“@Techmeme: TiVo streaming coming to iOS this summer (@jasonogrady / ZDNet) http://t.co/07L0ndoD ” < wonder if it will work in AU

Security researcher Tim Vidas of Dell SecureWorks outlines problems with the Android operating system: http://t.co/lA4t9ffu

Why I (now) hate Apple | ZDNet - http://t.co/f5v6BWxu

A farewell to #democracy: (according to)> #Kaspersky http://t.co/82GeK5Ik via @zdnetaustralia

I am not sure how this issue becomes an attack on Mr Turnbull. But I guess he is fair game. In any event I would have thought a Ddos woul...

9 hours ago by Doubt on National Botnet Network coming: Earthwave

RT @JamesVickery: Westpac board goes paperless with iPads http://t.co/L8V05zFs

I still use 98SE. Windows ME was an abortion in a bucket and Vista was ME without the bucket. My screen may look boring, but I jumped str...

9 hours ago by Treknology on Microsoft admits Vista was 'cheesy'

What is it [url=http://vintage-erotic.com/] retro xxx movies [/url]? And why all this it is possible to look free of charge?

9 hours ago by Drienlyinhibe on Australian police swoop on Warez community

Windows 8 includes enhanced multi-monitor support http://t.co/ZVfVHntw

This story has been voted 10 times in the last 24 hours!

10 hours ago, CeBIT 2012 opens: photos

Android users, you think only Apple are having security problems. See what is your major problem.
http://t.co/cjJYSOJw #infosec

RT @my_CISB: Android users, you think only Apple are having security problems. See what is your major problem.
http://t.co/cjJYSOJw #infosec

This story has been voted 15 times in the last 24 hours!

10 hours ago, Lenovo ThinkPad 3G tablet (32GB)

RT @aimee_maree: "For Buytaert, Drupal owes much of its success to being open source" http://t.co/RdnHB2y9 #Drupal

Malware charges users for free Android apps on Google Play - http://t.co/Zhnf2rtw

Well I don't know what they have done with their EFTPOS machines, local one in WA Coles Express I used this morning and I normally do "ch...

10 hours ago by harryinthesoup on Coles ditches PINs in payment pilot

ルブタンは彼が彼の靴に女性が感じる方法を好む、 クリスチャンルブタンポンプ これは彼がそれらを...

11 hours ago by Coiffboarieri on Reservoir blogs: Fan fakes Tarantino diary

6.7 M last ditch attempt - interesting - The Auckland region (population 1.4 mil) has estimated to have spent less than this in total ...

13 hours ago by debsteele on Vic scraps HealthSMART system

Interesting - no mention of Win 98/ME/2000 ... which heralded Internet access for millions of users ? I thought Win 98/ME would be the mo...

15 hours ago by gouranga on Microsoft admits Vista was 'cheesy'

An Application like Good from Good Technologies does the same thing, working with the enterprise email server and is off the shelf.

15 hours ago by Helpdesk123 on Westpac board goes paperless with iPads

Never mind a "B+" version, go for "C" and put in a few extras. I'd like a high speed ADC (100Msps) but that's just me... Final size? Equ...

16 hours ago by sa_penguin on Raspberry Pi architect mulls design change

what a non-story. these thing happen all the time. is zdnet short on material?

17 hours ago by paulwrussell on Spotify launch suffers redirect bungle

4 months old phone died. Took 6 weeks, three visits to the authorised repairer (Fonebiz) to "fix it". 2nd hand untested parts used, I say...

17 hours ago by paracin on Sony Ericsson Xperia Arc S

It's easy to rubbish an old operating system long after the rest of the world has already passed judgement upon it. I would be far more i...

17 hours ago by ramnet on Microsoft admits Vista was 'cheesy'

If Vista is cheesy, Metro is an over-ripe Stilton.

18 hours ago by meski on Microsoft admits Vista was 'cheesy'

you are kidding right - what qualification do you have to make such wildy stupid statements - do you really have customers who pay you fo...

18 hours ago by rant rant rant on National Botnet Network coming: Earthwave

Exactly. There are two topics of discussion, that are co-mingled; 1) Unauthorized software was put on the company device, by an IT person...

21 hours ago by lamont on ABC's Bitcoin miner tackled in minutes

First off, Bitcoin is not a virus. Second off, the only way to generate Bitcoins, is by using a Bitcoin miner. More information on this h...

1 day ago by rizowski on ABC's Bitcoin miner tackled in minutes

When an operating system is sold it should not launch until an approved security service is purchased online with a list of approved supp...

1 day ago by Kevin Cobley on National Botnet Network coming: Earthwave

Facebook Activity

Keep up with ZDNet Australia

ZDNet Events Calendar

ZDNet Events Calendar