ProcessModelComAuthenticationLevel Enum

Definition

Specifies the level of authentication for DCOM security.

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

Fields

Call 1

Specifies that DCOM authenticates the credentials of the client when the server receives the request at the beginning of each remote procedure call.

Connect 2

Specifies that DCOM authenticates the credentials of the client only when the client establishes a relationship with the server. This is the default value.

Default 3

Specifies that DCOM determines the authentication level using its normal security-negotiation algorithm.

None 0

Specifies no authentication. This field is constant.

Pkt 4

Specifies that DCOM verifies that all data received is from the expected client. The datagram transports always use Pkt authentication.

PktIntegrity 5

Specifies that DCOM authenticates and verifies that none of the data transferred between the client and the server has been modified.

PktPrivacy 6

Specifies that DCOM authenticates all previous levels and encrypts the argument value of each remote procedure call.

Examples

The following example shows how to get the current ProcessModelSection.ComAuthenticationLevel property value and then set it to 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


Remarks

ProcessModelComAuthenticationLevel defines the values to use when you set the ProcessModelSection.ComAuthenticationLevel property.

The default is Connect.

Note

The ProcessModelComAuthenticationLevel settings are relevant only when you use the ASP.NET process model (Internet Information Services [IIS] 5.n or compatible mode on IIS 6 only).

Applies to

See also