Force Popup with authentication mode="Windows"

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

  1. #1

    Default Force Popup with authentication mode="Windows"

    Is there a way to make my intranet web application NOT automatically
    use the logged in user when using the "Windows" authentication mode?
    I want to force the windows popup to always appear, prompting them for
    a user name and password (with domain name already filled in for them,
    if possible), as would happen if the logged in user didn't have access
    to the resource.

    I know how to do this with forms authentication, but I'd really rather
    do it thru windows authentication.

    Thanks!
    EvasionKid Guest

  2. Similar Questions and Discussions

    1. Help! A "Connect to" popup menu appears when trying toplay a video
      Thanks. A "Connect to" popup menu appears that asks for my username and password when trying to play video. I believe this menu began...
    2. How to force "save as" rather than open?
      On a particular page, depending on what the user has clicked, I'll either stream music to them using the following code: print "<META...
    3. Capturing a failed login within "windows authentication"
      Is there an event or "something" that happens when I can Log a message (or whatever) when a logon attempt fails when unsing "Windows...
    4. #25101 [Opn->Bgs]: (only on .php files)I Keep getting "Enter Network password" popup window
      ID: 25101 Updated by: sniper@php.net Reported By: oc34 at hotmail dot com -Status: Open +Status: ...
    5. Where does IIS and ASP.Net save Authentication info? (sessionState mode="SQLServer")
      Hi, I've successfully setup my machine to use: sessionState mode="SQLServer". All is up and running so no problems so far. Because I curious...
  3. #2

    Default Force Popup with authentication mode="Windows"

    Hi,

    What security configuration are you using in IIS for your
    application?

    JN

    >-----Original Message-----
    >Is there a way to make my intranet web application NOT
    automatically
    >use the logged in user when using the "Windows"
    authentication mode?
    >I want to force the windows popup to always appear,
    prompting them for
    >a user name and password (with domain name already
    filled in for them,
    >if possible), as would happen if the logged in user
    didn't have access
    >to the resource.
    >
    >I know how to do this with forms authentication, but I'd
    really rather
    >do it thru windows authentication.
    >
    >Thanks!
    >.
    >
    Johan Normén NSQUARED2 Guest

  4. #3

    Default Re: Force Popup with authentication mode="Windows"

    The origional idea was for technician to be able to
    access the webpage while working at a customer's
    workstation, the app would check to see if the logged
    in domain user was a member of a group with access,
    and if not, prompt for a username/password for someone
    who does have access.

    To do this, I changed the web.config file to use "Windows"
    authentication mode, added a roll allow for the group
    the technicians belong to, and set the authentication
    methods for the web to use Basic Authentication only.
    This has worked well and maintains the authentication
    throughout the session.

    The problem I've encountered is with some monitoring
    workstations that are always logged in. When a tech
    uses the app from there it gets the wrong user name.
    This issue would happen if a tech were to go to
    another tech's workstation and use the app, as well.

    To prevent this, the only workaround I can think of
    is to somehow make the app impersonate some other
    user when it first tries to authenticate, popping
    the request box for username and password.

    If you know how to do this, or some other means of
    achieving the same result of the box always popping,
    please let me know!

    Thanks!

    Nash

    > Hi,
    >
    > What security configuration are you using in IIS for your
    > application?
    >
    > JN
    >
    >
    > >-----Original Message-----
    > >Is there a way to make my intranet web application NOT
    > automatically
    > >use the logged in user when using the "Windows"
    > authentication mode?
    > >I want to force the windows popup to always appear,
    > prompting them for
    > >a user name and password (with domain name already
    > filled in for them,
    > >if possible), as would happen if the logged in user
    > didn't have access
    > >to the resource.
    > >
    > >I know how to do this with forms authentication, but I'd
    > really rather
    > >do it thru windows authentication.
    > >
    > >Thanks!
    > >.
    > >
    EvasionKid 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