Processing static files via HttpModule in ASP.NET
问题 I have statiс files in website folder, but need to check permissions for every file. I decided to use HttpModule for that purposes. ASP.NET receives all the http-requests (I used wildcard mapping) and The algorith is the following: HttpModule receives the request HttpModule checks permissions If access is denied then the answer is "Forbidden". If all is OK then httpModule's method just returns. DefaultHttpHandler is automatically used to process request for static files The problem is that