Forcing Reauthentication for a Webform with NTLM auth..ion

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

  1. #1

    Default Forcing Reauthentication for a Webform with NTLM auth..ion

    Hi,

    please suggest if there is a way (and what is it) to force a web application to "forget" a current user (authenticated with NTLM authentication) and make Internet Explorer show a dialog box prompting for authentication (username/password/domain)? (And then, have this session run under a newly entered credentials?)

    The reason for this question is I am trying to implement a functionality of "Logging Off". This option is rarely needed in our domain, but when it is, it's when the web application is run on a "shared" computer.

    Thank you for your input on this!

    --
    Best regards,

    Andrew P. Revinsky
    Andrew_Revinsky Guest

  2. Similar Questions and Discussions

    1. Forms Auth Info passed to Windows Auth?
      The requirement is to build an ASP.Net intranet application, so external users can log in to the main web portal via forms authentication, using...
    2. NTLM API Authentication
      Hi, I'm totally novice when it comes to authentication protocols. Here is what is needed to be done: Create a web service which calls the NTLM API...
    3. Configuring Windows Auth & Forms Auth in Asp.Net
      Configuring Windows Auth & Forms Auth in Asp.Ne Hi, I've configured a web app to use windows authentication and also set up two separate...
    4. How to force reauthentication of a Web service client (Basic auth)
      Sorry for cross-posting, but I am not quite sure where this question belongs (maybe it should be addressed to some other group). I have a Web...
    5. Including WebForm Image Control in a Webform Table Control
      What is the code for including an image control in a Table control of a WebForm ???? regards
  3. #2

    Default Re: Forcing Reauthentication for a Webform with NTLM auth..ion

    There is no way to remove the browser credentials other than actually closing the browser.

    [url]http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=06ad01c35185%2463788990%24a401280a%40phx .gbl&rnum=2&prev=/groups%3Fq%3Dnick%2540hks.ca%2Blogoff%26hl%3Den%26 lr%3D%26ie%3DUTF-8%26selm%3D06ad01c35185%252463788990%2524a401280a% 2540phx.gbl%26rnum%3D2[/url]

    "Andrew_Revinsky" <AndrewRevinsky@discussions.microsoft.com> wrote in message news:918B102E-25B6-4B7D-8B64-A7F6DF5C538D@microsoft.com...
    > Hi,
    >
    > please suggest if there is a way (and what is it) to force a web application to "forget" a current user (authenticated with NTLM authentication) and make Internet Explorer show a dialog box prompting for authentication (username/password/domain)? (And then, have this session run under a newly entered credentials?)
    >
    > The reason for this question is I am trying to implement a functionality of "Logging Off". This option is rarely needed in our domain, but when it is, it's when the web application is run on a "shared" computer.
    >
    > Thank you for your input on this!
    >
    > --
    > Best regards,
    >
    > Andrew P. Revinsky
    Raterus Guest

  4. #3

    Default Re: Forcing Reauthentication for a Webform with NTLM auth..ion

    Thanks, Raterus,

    so, there is not such solution? Closing a browser means you don't see a web resource, meaning you have to open the browser still. Catch 22. :)

    I know, that for some web resources on our intranet, when a virtual directory (which is mapped to a physical location) is missing mapping credentials, the users receive a standard authentication prompt.

    May this behavior be emulated - this is the question?

    --
    Best regards,

    Andrew P. Revinsky


    "Raterus" wrote:
    > There is no way to remove the browser credentials other than actually closing the browser.
    >
    > [url]http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=06ad01c35185%2463788990%24a401280a%40phx .gbl&rnum=2&prev=/groups%3Fq%3Dnick%2540hks.ca%2Blogoff%26hl%3Den%26 lr%3D%26ie%3DUTF-8%26selm%3D06ad01c35185%252463788990%2524a401280a% 2540phx.gbl%26rnum%3D2[/url]
    >
    > "Andrew_Revinsky" <AndrewRevinsky@discussions.microsoft.com> wrote in message news:918B102E-25B6-4B7D-8B64-A7F6DF5C538D@microsoft.com...
    > > Hi,
    > >
    > > please suggest if there is a way (and what is it) to force a web application to "forget" a current user (authenticated with NTLM authentication) and make Internet Explorer show a dialog box prompting for authentication (username/password/domain)? (And then, have this session run under a newly entered credentials?)
    > >
    > > The reason for this question is I am trying to implement a functionality of "Logging Off". This option is rarely needed in our domain, but when it is, it's when the web application is run on a "shared" computer.
    > >
    > > Thank you for your input on this!
    > >
    > > --
    > > Best regards,
    > >
    > > Andrew P. Revinsky
    >
    Andrew_Revinsky Guest

  5. #4

    Default Re: Forcing Reauthentication for a Webform with NTLM auth..ion

    I have done this,

    See "Mixing Forms and Windows Security in ASP." in MSDN for the hint on how
    to do this. You make use of Forms Authentication within you application, but
    automatically log on the user with NTLM authentication when they first hit
    the site.

    Your logout button takes them to the Forms Authentication logon page.

    [url]http://msdn.microsoft.com/library/en-us/dnaspp/html/mixedsecurity.asp[/url]

    Ian Ringrose
    Ringi at bigfoot dot com

    "Andrew_Revinsky" <AndrewRevinsky@discussions.microsoft.com> wrote in
    message news:5BD2F9F5-F7FD-49DA-841B-A3EB6F154854@microsoft.com...
    > Thanks, Raterus,
    >
    > so, there is not such solution? Closing a browser means you don't see a
    web resource, meaning you have to open the browser still. Catch 22. :)
    >
    > I know, that for some web resources on our intranet, when a virtual
    directory (which is mapped to a physical location) is missing mapping
    credentials, the users receive a standard authentication prompt.
    >
    > May this behavior be emulated - this is the question?
    >
    > --
    > Best regards,
    >
    > Andrew P. Revinsky
    >
    >
    > "Raterus" wrote:
    >
    > > There is no way to remove the browser credentials other than actually
    closing the browser.
    > >
    > >
    [url]http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=06ad01c35185%2463788990%24a401280a%40phx .gbl&rnum=2&prev=/groups%3Fq%3Dnick%2540hks.ca%2Blogoff%26hl%3Den%26 lr%3D%26ie%3DUTF-8%26selm%3D06ad01c35185%252463788990%2524a401280a% 2540phx.gbl%26rnum%3D2[/url]
    > >
    > > "Andrew_Revinsky" <AndrewRevinsky@discussions.microsoft.com> wrote in
    message news:918B102E-25B6-4B7D-8B64-A7F6DF5C538D@microsoft.com...
    > > > Hi,
    > > >
    > > > please suggest if there is a way (and what is it) to force a web
    application to "forget" a current user (authenticated with NTLM
    authentication) and make Internet Explorer show a dialog box prompting for
    authentication (username/password/domain)? (And then, have this session run
    under a newly entered credentials?)
    > > >
    > > > The reason for this question is I am trying to implement a
    functionality of "Logging Off". This option is rarely needed in our domain,
    but when it is, it's when the web application is run on a "shared" computer.
    > > >
    > > > Thank you for your input on this!
    > > >
    > > > --
    > > > Best regards,
    > > >
    > > > Andrew P. Revinsky
    > >

    Ian Ringrose 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