Assume that I am sending a message encrypted from the client to a service.
If a hacker intercepts the call, will he not be able to decrypt the message
using the token available in the soap envelope? Will it be more secure if I
use Kerberos Token? Why?
Thanks in advance
Kishore
> If a hacker intercepts the call, will he not be able to decrypt the message
> using the token available in the soap envelope?
The tokens used to encrypt the message can be separated into 2 types of
encryption algorithms.
[1] Username and Password - Shared Secret (Symmetric Algo)
[2] X509 Digital Certs - Public-Private Key (Asymmetric Algo)
In [2], the Decryption key (PrivateKey) is not sent across the wire, only
the holder of the PrivateKey can decrypt this message.
In [1], it is based on a common shared key. Therefore, it is imperative that
both sides have the common secret key (usually the pwd) to decrypt the
message. Tokens usually sent this way should NOT sent over the password. The
username is the referencing point. If a password is to be sent, send a
hashed version. If a password needs to be sent over in cleartext for some
reason, encrypt the entire usernameToken or use transport-layer security.
Hope this clears some confusion.

Signature
Thank you.
Regards,
Softwaremaker
=========================================
> Assume that I am sending a message encrypted from the client to a service.
> If a hacker intercepts the call, will he not be able to decrypt the message
[quoted text clipped - 4 lines]
>
> Kishore
RK - 10 Nov 2004 08:13 GMT
Thanks for the answer.
But I am not using X509Token here. I would like to know what algorithm WSE
uses to encrypt and decrypt using KerberosToken. If a hacker gets hold of
the envelope, and since the KerberosToken is also available in the envelope,
will he be able to use the KerberosToken to decrypt the envelope (assuming
that the KerberosToken was used for encryption)?
>> If a hacker intercepts the call, will he not be able to decrypt the
> message
[quoted text clipped - 29 lines]
>>
>> Kishore
Rory Plaire - 02 Dec 2004 20:39 GMT
> Thanks for the answer.
>
[quoted text clipped - 3 lines]
> will he be able to use the KerberosToken to decrypt the envelope (assuming
> that the KerberosToken was used for encryption)?
No, since the token is generated from the Kerberos Session Key, which
only the three "heads" of the protocol know: the sender, the reciever,
and the Key Distribution Server (KDC). Read up on Kerberos
(http://www.microsoft.com/windows2000/techinfo/howitworks/security/kerberos.asp)
for more details...
-rory