[英]Minimum OS Permissions required to create named pipe (WCF)
I have an exe that runs under the context of the logged-in user. 我有一个在登录用户的上下文下运行的exe。 The exe uses WCF to make itself a named pipe server (it will be called by multiple clients).
exe使用WCF使自己成为命名管道服务器(它将由多个客户端调用)。
Does the user need a specific permission for the exe to be able to create the named pipe? 用户是否需要exe的特定权限才能创建命名管道? I've tried running as a user with fairly minimal permissions (ie 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.
我尝试以相对最小的权限(即仅在本地Users组中)作为用户运行,并且这很好 - 但是我担心当我部署到客户端站点时,用户可能会以某种方式受到限制表示命名管道创建不起作用。
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. 本地登录用户无需使用netNamedPipe绑定来设置WCF服务的服务端的特殊权限。
However, you do need to worry about whether the clients can find and connect to the service. 但是,您需要担心客户端是否可以找到并连接到该服务。 There are two aspects to this:
这有两个方面:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.