Possible to give “Network Service” on one computer permission to a directory on another computer?

青春壹個敷衍的年華 提交于 2019-11-29 18:38:38

问题


I have a file:

\\Computer1\Share\file.pdf

and I need to open in using a service running as the network service account on another computer:

Computer2\NETWORK SERVICE

FWIW, Both Computer1 and Computer2 are on the same domain Domain1

Is it possible to accomplish this task?


回答1:


Yes.

If both servers are on the same domain then you can enable access to the share for Domain1\Computer2$ (where Computer2$ represents Network Service on Computer2).




回答2:


If it were me, I'd use a domain account to run the service and grant that same domain account the appropriate permissions on the remote computer.

I don't like to claim this is the answer as whilst it would resolve the problem it doesn't address the question as asked - but it is the "right" solution, assuming that its possible to elect to run the service using something other the Network Service account...



来源:https://stackoverflow.com/questions/8432556/possible-to-give-network-service-on-one-computer-permission-to-a-directory-on

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!