C# 클래스 Sholo.Web.Security.EnhancedSecurity

EnhancedSecurity exposes a public API for use in working with Stateful Forms Authentication in the .NET framework. It also exposes the configured configuration parameters as public static properties.
파일 보기 프로젝트 열기: scottt732/SholoWebSecurity

공개 메소드들

메소드 설명
DelayCryptographicExceptionResponse ( ) : void

Delay the execution of a request that caused a CryptographicException by a random amount of time between MinimumDelayOnCryptographicException and MaximumDelayOnCryptographicException

DelayMaliciousResponse ( ) : void

Delay the execution of the malicious request by a random amount of time between MinimumDelayOnMaliciousRequest and MaximumDelayOnMaliciousRequest

DelaySuspiciousResponse ( ) : void

Delay the execution of the suspicious request by a random amount of time between MinimumDelayOnSuspiciousRequest and MaximumDelayOnSuspiciousRequest

Initialize ( ) : void

Initializes configuration-related properties and validates configuration.

비공개 메소드들

메소드 설명
EnhancedSecurity ( ) : System

Static constructor

GetFormsAuthStatus ( ) : FormsAuthenticationStatus
SetFormsAuthStatus ( FormsAuthenticationStatus status ) : void

메소드 상세

DelayCryptographicExceptionResponse() 공개 정적인 메소드

Delay the execution of a request that caused a CryptographicException by a random amount of time between MinimumDelayOnCryptographicException and MaximumDelayOnCryptographicException
public static DelayCryptographicExceptionResponse ( ) : void
리턴 void

DelayMaliciousResponse() 공개 정적인 메소드

Delay the execution of the malicious request by a random amount of time between MinimumDelayOnMaliciousRequest and MaximumDelayOnMaliciousRequest
public static DelayMaliciousResponse ( ) : void
리턴 void

DelaySuspiciousResponse() 공개 정적인 메소드

Delay the execution of the suspicious request by a random amount of time between MinimumDelayOnSuspiciousRequest and MaximumDelayOnSuspiciousRequest
public static DelaySuspiciousResponse ( ) : void
리턴 void

Initialize() 공개 정적인 메소드

Initializes configuration-related properties and validates configuration.
public static Initialize ( ) : void
리턴 void