Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Authorization rule is not working for images

$
0
0

Following is my folder structure.

enter image description here

I need to apply authorization rules for all files under secret folder (including Bear.bmp).

enter image description here

Following is my updated Web.config after adding the handler mapping. enter image description here

The SecretFile.aspx is restricted however, Bear.bmp is still accessible for anonymous users. Am I missing anything?

Thanks!


Viewing all articles
Browse latest Browse all 4737

Trending Articles