ערוך

שתף באמצעות


IAuthorizeRemotingConnection Interface

Definition

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.

public interface class IAuthorizeRemotingConnection
public interface IAuthorizeRemotingConnection
type IAuthorizeRemotingConnection = interface
Public Interface IAuthorizeRemotingConnection

Remarks

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.

Methods

IsConnectingEndPointAuthorized(EndPoint)

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

IsConnectingIdentityAuthorized(IIdentity)

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

Applies to