Editar

Compartir vía


LocalServiceSecuritySettingsElement.ReplayWindow Property

Definition

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