I want to deny access to the folder with images on my site.
I use the following section in web.config
for this:
<location path="images/catalog">
<system.web>
<authorization>
<deny users="*"/>
</authorization>
</system.web>
</location>
It works fine locally but doesn't work on the server (IIS7). Any ideas?
May be you have another solution how to deny access to images in specific folder.