Last post Feb 14, 2015 09:11 AM by smirnov
Feb 14, 2015 08:51 AM|Deepak61088|LINK
Following is my folder structure.
I need to apply authorization rules for all files under secret folder (including Bear.bmp).
Following is my updated Web.config after adding the handler mapping.
The SecretFile.aspx is restricted however, Bear.bmp is still accessible for anonymous users. Am I missing anything?
Feb 14, 2015 09:11 AM|smirnov|LINK
Are you running in Integrated mode?
Shouldn't be handler look as
<add name="BMP" path="*.bmp" verb="GET, HEAD, POST, DEBUG" type="System.Web.StaticFileHandler" />