次の方法で共有


ProcessModelComAuthenticationLevel 列挙型

定義

DCOM セキュリティの認証レベルを指定します。

public enum class ProcessModelComAuthenticationLevel
public enum ProcessModelComAuthenticationLevel
type ProcessModelComAuthenticationLevel = 
Public Enum ProcessModelComAuthenticationLevel
継承
ProcessModelComAuthenticationLevel

フィールド

名前 説明
None 0

認証を指定しません。 このフィールドは定数です。

Call 1

サーバーが各リモート プロシージャ コールの開始時に要求を受信したときに、DCOM がクライアントの資格情報を認証することを指定します。

Connect 2

クライアントがサーバーとの関係を確立した場合にのみ、DCOM がクライアントの資格情報を認証することを指定します。 これが既定値です。

Default 3

DCOM が通常のセキュリティ ネゴシエーション アルゴリズムを使用して認証レベルを決定することを指定します。

Pkt 4

DCOM が、受信したすべてのデータが想定されるクライアントからのデータであることを確認することを指定します。 データグラム トランスポートでは常に Pkt 認証が使用されます。

PktIntegrity 5

クライアントとサーバーの間で転送されたデータが変更されていないことを DCOM が認証し、検証することを指定します。

PktPrivacy 6

DCOM が以前のすべてのレベルを認証し、各リモート プロシージャ 呼び出しの引数値を暗号化することを指定します。

次の例は、現在の ProcessModelSection.ComAuthenticationLevel プロパティ値を取得し、 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

注釈

ProcessModelComAuthenticationLevel は、 ProcessModelSection.ComAuthenticationLevel プロパティを設定するときに使用する値を定義します。

既定値は、Connect です。

ProcessModelComAuthenticationLevel設定は、ASP.NET プロセス モデルを使用する場合にのみ関連します (インターネット インフォメーション サービス [IIS] 5.n または IIS 6 の互換モードのみ)。

適用対象

こちらもご覧ください