Hi, I want to have folder that only allow ASP.NET MVC to access it. I'm storing file that only registered user can download it (using ASP.NET mvc FileResult to send binary file content). How to configure it using IIS Manager ?
Not sure what you mean. What does "ASP.NET MVC to access it" mean? Can you rephrase the question? ASPNet MVC is an application. And any applications hosted on our server is authenticated with ASPNet IUSR. If you want this application to be secured you should also set it up with forms authentication.
For slightly different reasons I too would like to investigate differing folder permissions for the site. For example, I have a series of PDF brochures and a couple of ZIP files that I would like to upload at some point in the future. I would like customers to be able to download these by selecting the link - this currently results in a 404 error page.
A 404 is not a permission issue, but the files cannot be found. Typically caused by the path being coded wrong.