I want to restrict static content on my web site to authenticated users only. I have created a folder in the root called "images" and placed a few images in the folder. When I request an image from the folder it gets returned to my browser with no problems.
But I can't seem to hook into any breakpoints when trying to debug my web site application.
I have breakpoints set all over the place in my "global.asax.cs" file.
I would think at the very least that the breakpoint I set in "Application_BeginRequest(object sender, EventArgs e)" would be hit.
I also tried adding this to my web.config to restrict any unauthorized users from downloading files from my "images" folder.
<location path="images">
<system.web>
<authorization>
<deny users="?" verbs="*" />
</authorization>
</system.web& ...
Go to the complete details ...