可以提供“网络服务”一台计算机上对另一台计算机上的目录的权限?
我有一个文件:
\\Computer1\Share\file.pdf
并且我需要使用在另一台计算机上作为网络服务帐户运行的服务打开:
Computer2\NETWORK SERVICE
FWIW,Computer1
和 Computer2
都位于同一域< code>Domain1
可以完成这个任务吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是。
如果两台服务器位于同一域中,则您可以启用对
Domain1\Computer2$
共享的访问权限(其中Computer2$
代表网络计算机上的服务2)。Yes.
If both servers are on the same domain then you can enable access to the share for
Domain1\Computer2$
(whereComputer2$
represents Network Service on Computer2).如果是我,我会使用域帐户来运行该服务,并授予该域帐户在远程计算机上的适当权限。
我不想声称这是答案,因为虽然它可以解决问题,但它没有解决所要求的问题 - 但它是“正确”的解决方案,假设可以选择使用其他东西来运行服务网络服务帐户...
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...