Re: Deny access to htm files

From: Damien (Damien_The_Unbeliever_at_hotmail.com)
Date: 01/13/05


Date: 13 Jan 2005 01:18:17 -0800

My *guess* would be that, because these files are normal, static, html
files, the ASP.NET engine isn't getting anywhere near them.

I wonder what would happen if you add the .htm extension to your IIS
config, to be processed through ASP.NET (you would also need to add a
handler - wonder how Page Handler would react to a plain htm file).

That would be the direction I would look in. Should be a change to IIS
and a change to machine.config.



Relevant Pages

  • Re: ISAPI vs. HTTPModule
    ... which parses the request and dispatches it to IIS in usermode. ... extension of the request is determined, and then sent to its handler. ... > ISAPI will not be able to access any .Net intrinsics/events. ...
    (microsoft.public.inetserver.iis)
  • Re: Handling dynamic "folders" for url-rewrites?
    ... you can map the 404 handler in IIS to 404.aspx where ... IIS will call the 404.aspx page and append the requested "bogus" url onto the ... known file extension get sent throug ASP.NET, ... requests in global.asax and rewrite the url, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IIS Process Handling
    ... > a notification that the request was passed off since IIS ... handled by IIS built-in static file handler. ...
    (microsoft.public.inetserver.iis)
  • Re: problem with httpmodule
    ... Microsoft MSDN Online Support Lead ... You can send feedback directly to my manager at: ... by default they'll be handled by a static file handler. ... If you want to switch back to let IIS process the request, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: asp.net httphandler wont invoke
    ... could it be that the server hoster has to map request for your extension to ... > We are using win 2003, iis 6.0, web.config for declaring httphandler. ... We specific the handler in web.config ... > ".yyy" extension and invoking the httphandler. ...
    (microsoft.public.dotnet.framework.aspnet)