System.Security.Policy.NetCodeGroup.ResetConnectAccess Method

Removes all connection access information for the current code group.

Syntax

public void ResetConnectAccess ()

Remarks

Use this method to remove the system-supplied default connection access rules.

The default rules are shown in the following table.

file

No connection access to the origin server is permitted.

http

HTTP and HTTPS access is permitted using the origin port.

https

HTTPS access is permitted using the origin port.

Requirements

Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0