Editare

Partajați prin


ActiveDirectoryConnectionProtection Enum

Definition

Specifies the connection protection options supported by the ActiveDirectoryMembershipProvider class.

public enum class ActiveDirectoryConnectionProtection
public enum ActiveDirectoryConnectionProtection
type ActiveDirectoryConnectionProtection = 
Public Enum ActiveDirectoryConnectionProtection
Inheritance
ActiveDirectoryConnectionProtection

Fields

Name Value Description
None 0

No transport layer security is used. Explicit credentials for the Active Directory connection must be provided in the configuration file.

Ssl 1

An SSL connection is used to connect to the Active Directory server.

SignAndSeal 2

The connection to the Active Directory server is secured by digitally signing and encrypting each packet sent to the server.

Remarks

The ActiveDirectoryConnectionProtection enumeration is used in an application's configuration file to set the protocol used to secure communications between an ActiveDirectoryMembershipProvider object and an Active Directory or Active Directory Application Mode server. The enumeration indicates the type of connection security the provider established based on the connectionProtection attribute of the membership Element (ASP.NET Settings Schema) configuration element. The connectionProtection attribute can be set only to either "None" or "Secure".

Applies to