Export (0) Print
Expand All
Expand Minimize

ProcessModelComAuthenticationLevel Enumeration

Specifies the level of authentication for DCOM security.

Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)

public enum ProcessModelComAuthenticationLevel
public enum ProcessModelComAuthenticationLevel
public enum ProcessModelComAuthenticationLevel

 Member nameDescription
CallSpecifies that DCOM authenticates the credentials of the client. This field is constant. 

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

ConnectSpecifies that DCOM authenticates the credentials of the client. This field is constant. 

DCOM authenticates the credentials of the client only when the client establishes a relationship with the server.

This is the default value.

DefaultSpecifies that DCOM determines the authentication level. This field is constant.  

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

NoneSpecifies no authentication. This field is constant.  
PktSpecifies that DCOM verifies that all data received is from the expected client. This field is constant.  

The datagram transports always use Pkt authentication.

PktIntegritySpecifies that DCOM authenticates and verifies the data transferred. This field is constant.  

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

PktPrivacySpecifies that DCOM authenticates all previous levels and does encryption. This field is constant.  

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

The ProcessModelComAuthenticationLevel enumerates the values to use when you set the ComAuthenticationLevel property.

The default is Connect.

NoteNote:

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

The following code example shows how to get the current ComAuthenticationLevel property value and then set the ComAuthenticationLevel property to a new value of Call.


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

// Set the ComAuthenticationLevel property to
// ProcessModelComAuthenticationLevel.Call.
processModelSection.ComAuthenticationLevel =
    ProcessModelComAuthenticationLevel.Call;


Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft