I'm working on an application that serves up files (e-commerce downloadable content.) The content is stored on a windows folder share on the server and the application then provides access to that content when the uses requests it. Essentially there is a DownloadFile.aspx?fileId=XXXX
Anyway I'm having issues getting the security right on the folder. Whenever i navigate to the page i get a login/password prompt from IIS asking for rights on the local computer. I need any internet user to be able to access a file (the application handles the security of who should be able to get to those files)
I tried adding Read to EVERYONE as well as adding it to the ASPNET user. No luck. I still get the prompt.
Any suggestions?
EDIT: Adding a bit of clarity. The ASPX file that is getting the security popup now is only calling a File.Exists on the UNC of the network share. This particular script isnt serving up the file for download (yet) and it still fails.
p.s. I'm aware this might not be the best way to serve these files. I'm a contractor doing work for a client who is migrating their site to another web host. We need to get it working before we can hopefully get in to rewrite this. Minimal impact is key.