System.Web.Configuration Namespace
.NET Framework version 2.0
Specifies the level of authentication for DCOM security.
Member |
Description |
Call |
Specifies 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. |
Connect |
Specifies 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. |
Default |
Specifies that DCOM determines the authentication level. This field is constant.
DCOM determines the authentication level using its normal security-negotiation algorithm. |
None |
Specifies no authentication. This field is constant. |
Pkt |
Specifies that DCOM verifies that all data received is from the expected client. This field is constant.
The datagram transports always use Pkt authentication. |
PktIntegrity |
Specifies 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. |
PktPrivacy |
Specifies 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 setting the ComAuthenticationLevel property.
The default is Connect.
NOTE: The ProcessModelComAuthenticationLevel settings are only relevant when using the ASP.NET process model ( IIS 5.n or compatible mode on IIS 6 only ).
The following code example shows how to set the ComAuthenticationLevel property.
// 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
|
|
C# |
VB |
ProcessModelSection Class