Ask the Expert

Are there any security problems related to SOAP?

Are there any security specific problems/issues/scenarios related to SOAP?

    Requires Free Membership to View

Security is a very large subject. I could easily write a book on this topic, but I'll try to be brief. I recommend that you read the Web services security white papers produced by IBM, Microsoft, and Verisign. See

From a technical point of view, SOAP poses pretty much the same type of security issues as most distributed computing technologies, such as CORBA, RMI, or MOM. (DCOM poses much higher security risks caused by the insecurity issues associated with dynamic invocation through the COM registry, but I won't go there.) The point is, if you are going to expose business process functionality through an open, public API, you ought to make sure that you perform the appropriate authentication and authorization tests before you allow the request to proceed. The question is, do SOAP developers implement the necessary security routines in their applications. Consider these points:

  • A SOAP service provides an API to business functionality
  • SOAP is simple enough for almost any programmer to use
  • A lot of programmers don't know how to build adequate security routines
  • Most SOAP services are accessible through HTTP on port 80
  • Most firewalls don't block communications on port 80

I see a lot of potential for security breaches that you just wouldn't have to deal with when working with CORBA or MOM.

A lot of people are under the false assumption that you can secure SOAP simply by sending your messages using HTTPS and SSL. SSL encrypts the SOAP messages while they travel on the wire. But sometimes you need to route the message between multiple intermediaries, and you don't want (1) to have to decrypt and encrypt the message for each intermediary and (2) the intermediary to be able to see the confidential information in the message. And, by the way, SSL doesn't help you accomplish authentication and authorization.

To properly secure SOAP, you need to implement your security at the application level rather than at the transport level. It's not hard to add security to SOAP. You can pass authentication information in a SOAP header, and you can intercept each call before processing to perform authorization tests. (You should be able to set this up in your SOAP server to perform automatically so that the developer doesn't need to write any extra code.) But if you want to ensure interoperability, you need to define standards for how you represent authentication credentials. Unfortunately, we haven't defined SOAP security standards yet. (The new OASIS Web Services Security (WSS) technical committee (see will define these standards -- the first meeting will be in September 2002.)

There are a few other challenges, which I'll name, but I won't go into here:

  • Cross-domain security and credential mapping
  • Partial encryption of SOAP messages
  • Relaying encryption key information

The first point is a policy problem, not a technical problem. WSS will address the last two points.

Many (not all) SOAP implementations support some type of authentication mechanism, but not every implementation supports the same type of authentication. Very few SOAP implementations support authorization. Systinet WASP is the only SOAP implementation that currently provides a comprehensive, automatic, built-in security framework. IBM's WSTK provides a bunch of excellent security features. AmberPoint Management Foundation and VordelSecure provide add-on security facilities for a number of SOAP implementations.

This was first published in August 2002

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: