LocalServiceSecuritySettingsElement.ReplayWindow Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a TimeSpan that specifies the duration in which individual message nonces are valid.
public:
property TimeSpan ReplayWindow { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("replayWindow", DefaultValue="00:05:00")]
public TimeSpan ReplayWindow { get; set; }
[System.Configuration.ConfigurationProperty("replayWindow", DefaultValue="00:05:00")]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan ReplayWindow { get; set; }
[System.Configuration.ConfigurationProperty("replayWindow", DefaultValue="00:05:00")]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan ReplayWindow { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("replayWindow", DefaultValue="00:05:00")>]
member this.ReplayWindow : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("replayWindow", DefaultValue="00:05:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
member this.ReplayWindow : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("replayWindow", DefaultValue="00:05:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.ReplayWindow : TimeSpan with get, set
Public Property ReplayWindow As TimeSpan
Property Value
A TimeSpan that specifies the duration in which individual message nonces are valid.
- Attributes
Remarks
After the time specified by this property, a message sent with the same nonce as the one sent before is not accepted. This property is used in conjunction with the MaxClockSkew property to prevent replay attacks. An attacker can replay a message after its replay window has expired. This message, however, fails the maxClockSkew test that rejects messages with send-time timestamps up to a specified time later or earlier than the time the message was received.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om