创建命名管道 (WCF) 所需的最低操作系统权限
我有一个在登录用户的上下文中运行的 exe。该exe使用WCF使自己成为一个命名管道服务器(它将被多个客户端调用)。
用户是否需要特定权限才能使 exe 创建命名管道?我尝试以具有相当小的权限的用户身份运行(即仅在本地用户组中),这工作正常 - 但我担心当我部署到客户端站点时,用户可能会受到某种方式的限制意味着命名管道创建不起作用。
I have an exe that runs under the context of the logged-in user. The exe uses WCF to make itself a named pipe server (it will be called by multiple clients).
Does the user need a specific permission for the exe to be able to create the named pipe? I've tried running as a user with fairly minimal permissions (i.e. just in the local Users group), and this works fine - but I'm concerned that when I deploy to the clients site, the users may be limited in some way that means the named pipe creation doesn't work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
本地登录用户无需特殊权限即可使用 netNamedPipe 绑定设置 WCF 服务的服务端。
但是,您确实需要担心客户端是否可以找到并连接到该服务。这有两个方面:
更多详细信息此处如果你有兴趣的话。
No special permissions are required for a locally logged on user to set up the service end of a WCF service using the netNamedPipe binding.
However, you do need to worry about whether the clients can find and connect to the service. There are two aspects to this:
More details here if you are interested.