Basic authentication without browser login window

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

  1. #1

    Default Basic authentication without browser login window

    Hello,

    I have a problem with basic windows authentication in IIS6. As a developer
    I'm requested to implement windows authentication on my web application
    (asp.net), but to avoid the browser login window. I have all the users in
    Active Directory and this is not an intranet system. I've tried a few
    techniques to achieve my goal:

    1. ISAPI filter is the most flexible option, but I'm looking for something
    simpler.
    2. Impersonation fails in maintaining the credentials between different
    requests. I can impersonate to the user using the token return by the logon
    function, but when redirecting to the next page, the user credentials are
    not kept.
    3. I tried using [url]http://username:passowrd@server/site/page.ext[/url]. This works
    fine (secured only when implementing SSL) but Microsoft is dropping this
    method, and IE6 does not support it in its new versions (support can be
    activated by a key in the registry but I have no access to the clients
    stations).

    After I logon to AD using the user credentials entered in my custom asp.net
    login form, I have the user's token. The only missing part is how to pass
    this token to the browser token cache.

    Does anyone have any suggestion?

    Thanks!

    Diego.


    Diego Embon \(personal mail\) Guest

  2. Similar Questions and Discussions

    1. Strange problem with Forms authentication: After successfull login, login page is still displayed
      Hi there I have a quite strange problem with my ASP.NET-Application. The application has being deployed one year ago and worked fine till last...
    2. Basic authentication re-direct
      Hello, I have basic authentication turned on for a directory. Is it possible to re-direct a failed login to another page? -- Thanks in...
    3. Login page with Basic authentication (newbie)
      Hello, I am using ASP.Net with Visual Basic. I have a directory that has Basic Authentication turned on, which is working fine. The problem...
    4. sso/basic authentication
      We are interested in using basic authentication (with https) to implement Single Sign On (SSO) with Internet Explorer clients. Does anyone have...
    5. ASP.Net Forms authentication with basic authentication popup
      Relatively new to ASP.Net but have a strange problem. My site uses forms authentication for a large administration section however after the user...
  3. #2

    Default Re: Basic authentication without browser login window

    On Tue, 5 Oct 2004 23:42:42 +0200, "Diego Embon \(personal mail\)" <embon@bezeqint.net> wrote:

    ¤ Hello,
    ¤
    ¤ I have a problem with basic windows authentication in IIS6. As a developer
    ¤ I'm requested to implement windows authentication on my web application
    ¤ (asp.net), but to avoid the browser login window. I have all the users in
    ¤ Active Directory and this is not an intranet system. I've tried a few
    ¤ techniques to achieve my goal:
    ¤
    ¤ 1. ISAPI filter is the most flexible option, but I'm looking for something
    ¤ simpler.
    ¤ 2. Impersonation fails in maintaining the credentials between different
    ¤ requests. I can impersonate to the user using the token return by the logon
    ¤ function, but when redirecting to the next page, the user credentials are
    ¤ not kept.
    ¤ 3. I tried using [url]http://username:passowrd@server/site/page.ext[/url]. This works
    ¤ fine (secured only when implementing SSL) but Microsoft is dropping this
    ¤ method, and IE6 does not support it in its new versions (support can be
    ¤ activated by a key in the registry but I have no access to the clients
    ¤ stations).
    ¤
    ¤ After I logon to AD using the user credentials entered in my custom asp.net
    ¤ login form, I have the user's token. The only missing part is how to pass
    ¤ this token to the browser token cache.
    ¤
    ¤ Does anyone have any suggestion?
    ¤

    Have you looked at Forms Authentication using Active Directory?

    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT02.asp[/url]


    Paul ~~~ [email]pclement@ameritech.net[/email]
    Microsoft MVP (Visual Basic)
    Paul Clement 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