一台计算机上的 IIS 后面的 Web 服务器无法访问另一台计算机上的文件?

发布于 2024-10-08 18:51:54 字数 65 浏览 0 评论 0原文

需要完成哪些权限或设置或步骤,以便一台计算机上 IIS 后面的 Web 应用程序能够访问另一台计算机上的文件/目录。

What all permissions or setting Or steps need to be done so that Web application behind IIS on one machine is able to access the files/directory on the other machine.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

残龙傲雪 2024-10-15 18:51:55

IIS 中的应用程序池具有运行相关网站的身份(用户)。此身份需要访问另一台计算机上的文件。使用的身份通常是 NT Authority\Network Service。所以这基本上是需要访问文件的帐户。当在另一台计算机上引用时,名为 ComputerA 的计算机的网络服务帐户称为 ComputerA$。因此,在您的文件服务器上,您需要确保 ComputerA$ (或您的同等服务器)有权访问这些文件。

An application pool in IIS has an identity (user) that runs the web site in question. This identity needs access to the files on the other machine. The identity used is often NT Authority\Network Service. So this is basically the account that needs access to the files. The Network Service account of a computer called ComputerA is called ComputerA$ when referenced on another computer. So on your file server you need to make sure that ComputerA$ (or your equivalent) has access to the files.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文