IAuthorizeRemotingConnection Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈