Authentication using HttpModule

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Authentication using HttpModule

    I know that we can perform authentication of .aspx pages with an HttpModule, and that the same module can probably be used for static content (.htm, .jpg, etc.) by sending them through the ASP.Net pipeline. Can this approach be extended to include non-ASP.Net dynamic pages such as .asp and .jsp? I can't see any way to get ASP.Net to process an asp page when IIS is sending it to asp.dll, and if I send it to aspnet_isapi.dll, how will asp ever get it? Am I missing something or is an ISAPI filter the only way to authenticate all pages on a very heterogenous web server? TIA.
    don smolen Guest

  2. Similar Questions and Discussions

    1. Custom authentication using a HttpModule. Knowing when to authenticate ...
      I have been trying to implement my own custom authentication (like forms, windows, or passport), but I have run into a little problem I was hoping...
    2. Interceptor, HttpModule, WSE
      I've developed a framework for ASP.NET with a custom authentication module (HttpModule). This module is already working. This framework should also...
    3. .NET HttpModule & NTLM Integrated Authentication
      What I'm trying to do is Create an ASP.Net app that has both Windows-authenticated users and Anonymous users. The idea is this: When...
    4. HttpModule
      Is it possible to capture a request as it hits the server and before the post data has been completely sent to the web server? Thanks~
    5. HttpModule for ASP and ASP.NET URL filtering
      I'm interested in writing an HttpModule to clean up URLs for a site that's in a transitional phase from ASP to ASP.NET. Basically, I'd like to hide...
  3. #2

    Default Re: Authentication using HttpModule

    you're analysis is correct. you could write an ISAPI filter that hosted a
    ..net domain, and loaded its own modules.


    -- bruce (sqlwork.com)



    "don smolen" <dsmolen A T deloitte D O T com> wrote in message
    news:91E3A23A-BD81-4637-B542-10C2AFA75788@microsoft.com...
    > I know that we can perform authentication of .aspx pages with an
    HttpModule, and that the same module can probably be used for static content
    (.htm, .jpg, etc.) by sending them through the ASP.Net pipeline. Can this
    approach be extended to include non-ASP.Net dynamic pages such as .asp and
    ..jsp? I can't see any way to get ASP.Net to process an asp page when IIS is
    sending it to asp.dll, and if I send it to aspnet_isapi.dll, how will asp
    ever get it? Am I missing something or is an ISAPI filter the only way to
    authenticate all pages on a very heterogenous web server? TIA.


    bruce barker Guest

  4. #3

    Default Re: Authentication using HttpModule

    You got to read "Essential ASP.NET with Examples in C#" by Fritz
    Onion as there is an entire section of the book that covers the ASP.NET
    HTTP Pipeline in detail.

    That said, I just started that section and scanned through looking for
    discussion related to processing of the .asp extension but Fritz did not
    cover old ground.

    As I recall however, asp.dll functioned as an ISAPI filter while
    aspnet_isapi.dll
    functions as an ISAPI extension. I believe understanding the difference
    will prove
    important but I have yet to determine how with regard to processing .asp
    requests.

    I'll certainly be watching this thread if you or others have something
    to add...

    --
    <%= Clinton Gallagher
    A/E/C Consulting, Web Design, e-Commerce Software Development
    Wauwatosa, Milwaukee County, Wisconsin USA
    NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
    URL [url]http://www.metromilwaukee.com/clintongallagher/[/url]




    "don smolen" <dsmolen A T deloitte D O T com> wrote in message
    news:91E3A23A-BD81-4637-B542-10C2AFA75788@microsoft.com...
    > I know that we can perform authentication of .aspx pages with an
    HttpModule, and that the same module can probably be used for static
    content (.htm, .jpg, etc.) by sending them through the ASP.Net pipeline.
    Can this approach be extended to include non-ASP.Net dynamic pages such
    as .asp and .jsp? I can't see any way to get ASP.Net to process an asp
    page when IIS is sending it to asp.dll, and if I send it to
    aspnet_isapi.dll, how will asp ever get it? Am I missing something or is
    an ISAPI filter the only way to authenticate all pages on a very
    heterogenous web server? TIA.


    clintonG Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139