Monday, 15 February 2010

asp.net - Folder Permissions IIS 7 server. Denying acces to folder to web browsers -


I'm new to the server and I want to ask a simple question.

I have found a website (ASPX) with a folder where I store the image.

Connect through the mobile HTC client (generic handler) and download images from the folder, but I want to deny access to the web in this folder

Advance Thanks

I think you can use something like this

  & Lt; Configuration & gt; & Lt; Location Path = "MySub Directory" & gt; & Lt; System.web & gt; & Lt; Authority & gt; & Lt; Deny users = "*" /> & Lt ;! - Disallow all users - & gt; & Lt; / Authorization & gt; & Lt; /system.web> & Lt; / Location & gt;   



No comments:

Post a Comment