由于Remoting的TcpChannel没有提供内建的认证机制,许多人希望能通过IP地址来辨认Remoting Client。我们可以在Remoting Server端注册上自定义的Server Channel Sink,通过Transport Headers来获取request的IP。详见:
How to get the IP address of the Remoting Client on Remoting Server
http://blog.joycode.com/felix/articles/39610.aspx
另外,下面的MSDN文章提供了一个基于SSPI认证的例子:
.NET Remoting Authentication and Authorization Sample - Part I
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/remsspi.asp?frame=true
?