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

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 model DCOM określa poziom uwierzytelniania przy użyciu normalnego algorytmu negocjacji zabezpieczeń.

None 0

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

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 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.

Uwaga

Ustawienia ProcessModelComAuthenticationLevel są istotne tylko w przypadku korzystania z modelu przetwarzania ASP.NET (internet information services [IIS] 5.n lub trybu zgodnego tylko w usługach IIS 6).

Dotyczy

Zobacz też