Access to shared folder as a virtual directory in the IIS

给你一囗甜甜゛ 提交于 2019-12-25 07:47:34

问题


I have a very simple task on microsoft IIS (Which means 2 days of configuration hell)

I need to add a virtual directory that points to a different server (Shared folder).

I opened a user in the local and the remote servers and I can see the content of the folder, but when I try to copy something to that folder (from the code) I get access denied.

Of course that the user has a full control (shared and ntfs) but not matter what I'm doing I just can't make this simple task to work.

What have I missed? What should I do to make it work?

Thanks in advance - Tal.


回答1:


The problem can be solved by changing the appPoolIdentity to a local windows user that has permissions to read\write to the network virtual folder. The downside (at least from my experience) is performance, the IIS become slow very fast (30 online users in my case).



来源:https://stackoverflow.com/questions/42908601/access-to-shared-folder-as-a-virtual-directory-in-the-iis

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