Multiple log-in requests for single aspx page - WHY?

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

  1. #1

    Default Multiple log-in requests for single aspx page - WHY?

    I have a subweb secured with Windows authentication. IIS has anonymous
    access disabled & basic auth enabled. The sub folder has acls set to allow
    access to a single non-admin user as well as administrators. Upon browsing
    to the home of the secured subweb users are prompted to log-in once, and
    assuming correct credentials are entered can access the site. When then
    non-admin user then follows a link to browse to an aspx page within the
    subweb another log-in prompt is displayed.
    WEIRD:
    If the user enters their username/password the log-in dialog re-appears 3
    times then the page is displayed. HOWEVER if they click cancel/press escape
    the page IS STILL DISPLAYED.

    This only happens from a win2k client, accessing the page from XP works as
    expected.

    Also, I found that when setting unique permissions on the subweb using the
    FPSE admin web pages I lost the ASPNET account permissions, breaking the
    application, and had to manually re-add them. This doesn't seem very clever.
    As if security wasn't complicated enough with ASP I now have to check ACLs,
    IIS settings, FPSE settings AND web.configs, any or all of which can break
    the security.

    TIA,

    Paul Bryant


    Paul Bryant Guest

  2. Similar Questions and Discussions

    1. Automatic generation of multiple requests for longrunning page
      We experience a problem with CF MX (both 6.1 and 7) that it automatically generates a second, third or even fourth http requests when a page takes...
    2. single page Quark ps ok, multiple page ps won't distill
      I'm trying to speed up my process making high-res single page pdfs for my printer by printing one large pdf then ripping it into single pages using...
    3. Can we view a single Asp.net page as one 'critical section' for identical http requests?
      How does ASP.NET process requests labeled with same sessionID/AuthID? Is it in defined order, such as FIFO or undefined order? For example: An...
    4. Multiple DataGrid in an ASPX page
      Hi, I have a requirement in which I need to display multiple datagrids in my ASPX page. I do not know how many of them until the page load. So I...
    5. multiple data grids in a same ASPX page
      Hi, I have a requirement in which I need to display multiple datagrids in my ASPX page. I do not know how many of them until the page load. So I...
  3. #2

    Default RE: Multiple log-in requests for single aspx page - WHY?

    Paul,

    Are you impersonating in your ASP.NET application? If not, I would think
    that the cause of the problem is that ASPNET (the user account for the
    aspnet_wp.exe process) is being denied access. However, the fact that it
    works from a Windows XP machine is very strange.

    What do the IIS logs show? What do you see if you get a Filemon log of
    this problem? ([url]www.sysinternals.com[/url]).

    As to the FPSE, if you try and manage permissions using FPSE, they may
    tighten security which will remove any unknown accounts from browse access
    on the site. This includes the ASPNET account. Therefore, if you do
    tighten security with FPSE, you will need to add the ASPNET account back to
    the wwwroot folder with default permissions.

    Jim Cheshire [MSFT]
    Developer Support
    ASP.NET
    [email]jamesche@online.microsoft.com[/email]

    This post is provided as-is with no warranties and confers no rights.


    --------------------
    >From: "Paul Bryant" <paul@NO_SP_AMgap66.com>
    >Subject: Multiple log-in requests for single aspx page - WHY?
    >Date: Fri, 17 Oct 2003 12:28:06 +0100
    >Lines: 27
    >X-Priority: 3
    >X-MSMail-Priority: Normal
    >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
    >Message-ID: <OvTMNHKlDHA.2432@TK2MSFTNGP10.phx.gbl>
    >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
    >NNTP-Posting-Host: dsl-217-155-7-30.zen.co.uk 217.155.7.30
    >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
    >Xref: cpmsftngxa06.phx.gbl
    microsoft.public.dotnet.framework.aspnet.security: 7228
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
    >
    >I have a subweb secured with Windows authentication. IIS has anonymous
    >access disabled & basic auth enabled. The sub folder has acls set to allow
    >access to a single non-admin user as well as administrators. Upon browsing
    >to the home of the secured subweb users are prompted to log-in once, and
    >assuming correct credentials are entered can access the site. When then
    >non-admin user then follows a link to browse to an aspx page within the
    >subweb another log-in prompt is displayed.
    >WEIRD:
    >If the user enters their username/password the log-in dialog re-appears 3
    >times then the page is displayed. HOWEVER if they click cancel/press escape
    >the page IS STILL DISPLAYED.
    >
    >This only happens from a win2k client, accessing the page from XP works as
    >expected.
    >
    >Also, I found that when setting unique permissions on the subweb using the
    >FPSE admin web pages I lost the ASPNET account permissions, breaking the
    >application, and had to manually re-add them. This doesn't seem very
    clever.
    >As if security wasn't complicated enough with ASP I now have to check ACLs,
    >IIS settings, FPSE settings AND web.configs, any or all of which can break
    >the security.
    >
    >TIA,
    >
    >Paul Bryant
    >
    >
    >
    Jim Cheshire [MSFT] 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