We having a problem with our web server that it denies the access to shared folders, after some investigation I have notice that the 'WindowsIdentity.GetCurrent().Name' returning the client side user name 'my User Name' instead of 'Network service'.
Now if I add following code into web config, the app works currently and uses 'Network service'.
<identity impersonate="false" />
My question is that, is there anywhere in the IIS6 that I can use/set to force all applications to using the 'Network service' user?
thanks in advance for the help,
在框上的machine.config中设置impersonate="false
。默认情况下,machine.config没有启用impersonate
功能。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.