Hi bao,
They are completely different.
SLL secures the message at transport level, while WSE do that at application
level. (Transport and application levels comes from the TCP/IP Stack)
In a few words, WSE modifies the request and response messages to add
security headers and secure the message (Using the WS-Security standar), it
doesn't depend on the transport to protect the message.
SLL can be used only to protect web services published on a web server
using http, and it doesn't modify the message.
Both use X509 certificates, but as I said before, they use them at different
levels.
Regards,
Pablo Cibraro
www.lagash.com
> hi, what is the difference between securing a webservice using ssl and
> using x509 certificate to encrypt and sign webservice?
[quoted text clipped - 10 lines]
> thanks,
> -bao
xiaobaoer@gmail.com - 24 Aug 2005 16:17 GMT
Thanks Pablo,
then what's the most secure way to protect a webservices? should it
be using X509 to encrypt and sign or use SSL with some user name and
password? microsoft didn't provide any recommendation on this topic.
to my best understanding, using x509 to ecnrypt the sign will involve
certificate management nightmare, imagine that both parties will have
to exchange their certificates, and if one expires, it has to get new
certificate and send the public key to the other party, and both
parties have to switch to the new public at the same time, and this
process has to be mannual, because physical certificate has to be
installed on each box hosting the app.
on the other hand, if using SSL + username password is secure
enought, there are not much certificate management involved, only the
server side need to get new certificate when it expires, and when
server updates its certificate, the whole thing still works because
public key is automatically sent to the client.
you mentioned ssl is only good for webservice published through http
protocol, are you indicating webservices can be published through other
protocols?
thanks for your help
-bao
Pablo Cibraro - 24 Aug 2005 17:52 GMT
Both methods are extremely secure. You should choose one acording to your
application requeriments.
In your case, maybe SSL is the best option, because you want to publish a
simple web service, and you don't want to have problems managing
certificates.
Yes, web services can be published through other protocols such as TCP,
MSMQ, etc. That's a feature provided by WSE messaging.
> Thanks Pablo,
> then what's the most secure way to protect a webservices? should it
[quoted text clipped - 19 lines]
> thanks for your help
> -bao