简体   繁体   中英

Issue opening Shared folder files on network using asp.net

I have developed an application using asp.net which should open files that are placed in a shared folder on the network, when I run the application locally it works perfectly (which means it opens any file that I click on), but after hosting in IIS when I browse the application it gets the path of files in shared folder but cannot open any file, could anyone please help me in this regard?

I also used impersonation and all those steps but none solved my issue :(

Looking for your prompt help

Thanks in advance

Webserver code is not supposed to have wide open access rights. It would be a security hole. It typically runs as a user with minimum privileges confined to a few directories.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM