WCF命名管道服务安全性 [英] WCF named pipe service security

查看:67
本文介绍了WCF命名管道服务安全性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经编码了一个命名管道应用程序,我想保护我的命名管道服务,以便没有人可以编写一个客户端以连接到命名管道并开始在服务器上调用方法,我在WCF中执行此操作?我知道WCF命名管道不支持消息安全性,但它们确实支持传输安全性

Hi I''ve coded a named pipe application, i''d like to protect my named pipe service so that no one can just write a client to connect to the named pipe and start calling methods on the server, how can i do this in WCF? I know that WCF Named pipes don''t support message security but they do support transport security

推荐答案

您使用的绑定NetNamedPipeBinding与NTLM或Kerberos身份验证兼容.您必须在传输层上启用它.这可以通过配置文件来完成.例如:

The binding NetNamedPipeBinding that you are using is compatible with NTLM or Kerberos authentication. You have to enable it on the transport layer. This could be done through a configuration file. For example:

<security mode="Transport">
   <transport clientCredentialType="Windows" />
</security>



希望这会有所帮助.



Hope this helps.


这篇关于WCF命名管道服务安全性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆