Groups | Blog | Home
all groups > dotnet web services enhancements > june 2006 >

dotnet web services enhancements : 2 types of <replayDetection> element



Hung Ngo
6/13/2006 4:56:03 AM
Hi,
I have read the below help to create a custom <replayDetection> element
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/WSS_Ch5_ImpMsgReplayDet_WSE30.asp

But I am confusing about the above custom element and <replayDection> from
this link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wse/html/1efe87b3-ef59-4d21-9879-b75162a4c821.asp

So, what is the difference between them?
If I just use the <replayDetection> from the second link, will my web
service be attacked by replay attacks, is it used for all security token type
(anonymous, username, certificate, kerberos)?
Hung Ngo
6/13/2006 8:04:03 AM
Thank Pablo,
Can you explain in more details about "Just the token, not the entire
message" in your reply?
Hung.

[quoted text, click to view]
Pablo Cibraro
6/13/2006 9:42:34 AM
The first one is a replay detection mechanism for any kind of message. In
other words, it works for all assertions.
The second one only prevents replay detection attacks for UsernameTokens.
(Just the token, not the entire message).

Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax

[quoted text, click to view]

Pablo Cibraro
6/15/2006 9:37:23 AM
I mean, the token is a part of the message and it goes inside of the
security header. The second approach only checks the token and not the
message, it only works when someone tried to replace the username token.

Regards,
Pablo.

[quoted text, click to view]

AddThis Social Bookmark Button