IAuthorizeRemotingConnection Interface

IAuthorizeRemotingConnection Interface

 

The IAuthorizeRemotingConnection interface provides methods that indicate whether a client is authorized to connect on the current channel, based on the client's network address and user identity.

Namespace:   System.Runtime.Remoting.Channels
Assembly:  System.Runtime.Remoting (in System.Runtime.Remoting.dll)

public interface IAuthorizeRemotingConnection

NameDescription
System_CAPS_pubmethodIsConnectingEndPointAuthorized(EndPoint)

Gets a Boolean value that indicates whether the network address of the client is authorized to connect on the current channel.

System_CAPS_pubmethodIsConnectingIdentityAuthorized(IIdentity)

Gets a Boolean value that indicates whether the user identity of the client is authorized to connect on the current channel.

An instance of the IAuthorizeRemotingConnection interface is passed to TcpServerChannel(IDictionary, IServerChannelSinkProvider, IAuthorizeRemotingConnection). It provides a single point of authorization for all incoming connections on a TcpServerChannel. It allows for the authorization of the caller before any incoming messages are deserialized to minimize the security threat from untrusted sources.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft