issues mixing integrated Windows authentication and anonymous on same application

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

  1. #1

    Default issues mixing integrated Windows authentication and anonymous on same application

    I'm having issues mixing integrated Windows authentication and anonymous
    access on same IIS app.

    Basically, any post back event fails (Forms collection empty and control's
    event handler never called) on anonymous page when:

    1 - user opens an aspx page that requires integrated Windows authentication

    2 - user navigates to aspx page (through hyperlink, post back redirect, etc
    ....) w\ anonymous access.

    ALL server side events fail on anonymous aspx page (Forms collection
    empty...).



    This is NOT an issue when using basic authentication.

    This is NOT an issue when anonymous page is on a different web application.

    To duplicate:

    1- create two aspx pages, add then to same IIS application.
    2- set integrated windows authentication on first page and allow anonymous
    on second page (using IIS console).
    3- add hyperlink that directs browser from windows auth page to second
    anonymous access page.
    4- add button to second aspx page, wire up click event handler for this
    button.
    5- launch first page (the one w\ windows authentication ).
    6- click hyperlink to navigate to anonymous page.
    7- click button once anonymous page loaded.
    ISSUE: server side event NOT fired!



    developer Guest

  2. Similar Questions and Discussions

    1. Mixing Windows and Forms Authentication
      I was looking a way to have the Windows and Forms Authentication on the same site, and I found a Paul Wilson's article on MSDN. I've downloaded...
    2. Intranet and Integrated Windows Authentication
      Hey all, I would like to preface my question by stating I am still learning ASP.net and while I am confident in the basics and foundation,...
    3. .NET, Integrated Windows Authentication, and more
      First of all, with identity impersonate = true, I still get this blasted error: Exception Details: System.Data.SqlClient.SqlException: Login failed...
    4. integrated Windows authentication
      Firstly, I'm running IIS 6.0 on Windows SErver 2003 that is also a DC. I have an asp page (default.asp) I am trying to access as my hom page for...
    5. Windows Authentication and Anonymous login URGENT
      | users. However I need to be able to tell a difference if | they have login through the intranet, which window | authentication just lets them in,...
  3. #2

    Default RE: issues mixing integrated Windows authentication and anonymous on same application

    I also reproduced the problem. The two requests use different credentials,
    but they are in same session. I suspect this cause the problem. I will
    continue to research on this issue to confirm if this is a problem of ASP
    .NET.

    Thanks,

    Luke

    [MSFT] Guest

  4. #3

    Default RE: issues mixing integrated Windows authentication and anonymous on same application

    Hello,

    DId you still monitor this issue? Based on my research, the best work
    around for this issue is to place these two web form in different web
    application and grant different security setting the applications. There is
    indeed some problems when we grnat permission on page level.

    Luke

    [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