Share via


IAuthorizeRemotingConnection 介面

定義

IAuthorizeRemotingConnection 介面提供方法,根據用戶端的網路位址和使用者識別,指出用戶端是否獲得連接目前通道的授權。

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

備註

IAuthorizeRemotingConnection介面實例會傳遞至 TcpServerChannel(IDictionary, IServerChannelSinkProvider, IAuthorizeRemotingConnection) 。 它會針對上的所有內送連接提供單一授權點 TcpServerChannel 。 它可在任何傳入訊息還原序列化之前,允許呼叫者的授權,以將不受信任來源的安全性威脅降至最低。

方法

IsConnectingEndPointAuthorized(EndPoint)

取得布林 (Boolean) 值,指出用戶端的網路位址是否獲得連接目前通道的授權。

IsConnectingIdentityAuthorized(IIdentity)

取得布林值,指出用戶端的使用者識別是否獲得連接目前通道的授權。

適用於