ProcessModelComAuthenticationLevel Wyliczenie

Definicja

Określa poziom uwierzytelniania dla zabezpieczeń MODELU DCOM.

public enum class ProcessModelComAuthenticationLevel
public enum ProcessModelComAuthenticationLevel
type ProcessModelComAuthenticationLevel = 
Public Enum ProcessModelComAuthenticationLevel
Dziedziczenie
ProcessModelComAuthenticationLevel

Pola

Nazwa Wartość Opis
None 0

Określa brak uwierzytelniania. To pole jest stałe.

Call 1

Określa, że DCOM uwierzytelnia poświadczenia klienta, gdy serwer odbiera żądanie na początku każdego zdalnego wywołania procedury.

Connect 2

Określa, że dcOM uwierzytelnia poświadczenia klienta tylko wtedy, gdy klient ustanawia relację z serwerem. Jest to wartość domyślna.

Default 3

Określa, że dcOM określa poziom uwierzytelniania przy użyciu normalnego algorytmu negocjacji zabezpieczeń.

Pkt 4

Określa, że model DCOM sprawdza, czy wszystkie odebrane dane pochodzą z oczekiwanego klienta. Transport datagramu zawsze używa uwierzytelniania Pkt.

PktIntegrity 5

Określa, że model DCOM uwierzytelnia się i sprawdza, czy żadne dane przesyłane między klientem a serwerem nie zostały zmodyfikowane.

PktPrivacy 6

Określa, że model DCOM uwierzytelnia wszystkie poprzednie poziomy i szyfruje wartość argumentu każdego zdalnego wywołania procedury.

Przykłady

W poniższym przykładzie pokazano, jak pobrać bieżącą ProcessModelSection.ComAuthenticationLevel wartość właściwości, a następnie ustawić ją na Call:


// Get the current ComAuthenticationLevel property value.
ProcessModelComAuthenticationLevel comAuthLevel = 
   processModelSection.ComAuthenticationLevel;

// Set the ComAuthenticationLevel property to
// ProcessModelComAuthenticationLevel.Call.
processModelSection.ComAuthenticationLevel =
    ProcessModelComAuthenticationLevel.Call;
' Get the current ComAuthenticationLevel property value.
   Dim comAuthLevel _
   As ProcessModelComAuthenticationLevel = _
   processModelSection.ComAuthenticationLevel

' Set the ComAuthenticationLevel property to
' ProcessModelComAuthenticationLevel.Call.
   processModelSection.ComAuthenticationLevel = _
   ProcessModelComAuthenticationLevel.Call

Uwagi

ProcessModelComAuthenticationLevel definiuje wartości, które mają być używane podczas ustawiania ProcessModelSection.ComAuthenticationLevel właściwości.

Wartość domyślna to Connect.

Note

Ustawienia ProcessModelComAuthenticationLevel są istotne tylko wtedy, gdy używasz modelu przetwarzania ASP.NET (Internet Information Services [IIS] 5.n lub trybu zgodnego tylko w usługach IIS 6).

Dotyczy

Zobacz też