Does WCF always needs my host to have administrator privileges?

后端 未结 2 592
谎友^
谎友^ 2021-01-25 01:05

I\'m following this tutorial and seems like to implement WCF in my application it would need to run with administrator privileges.

I want to use remoting only

2条回答
  •  野性不改
    2021-01-25 01:42

    It could well be that because you are registering the endpoint information programatically that you need the elevated permissions. WCF does not require them in most circumstances.

    Services such as this one require permission to register HTTP addresses on the machine for listening. Administrator accounts have this permission, but non-administrator accounts must be granted permission for HTTP namespaces

提交回复
热议问题