Only allow anonymous Auth

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arggg
    New Member
    • Mar 2008
    • 91

    Only allow anonymous Auth

    I have disabled IWA as I want to handle the authentication my self. I have Allow Anonymous checked with the user IUSR_<MachineNa me> and unchecked IWA. It then says I do not have access when trying to access the aspx pages. If I enable IWA. It will prompt for login and will work. I do not want to prompt for login but only use my own login script. I have checked everywhere I can think of to make sure IUSR_ has permissions but cannot seem to fix this issue.

    Can someone point me in the right direction of why it says invalid access 401.2 when IWA is disabled?

    EDIT:
    It is IIS6 with ASP.NET 2.0 with 3.5 Framework.
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Check the authentication section of your web.config file. HTH.
    Originally posted by arggg
    I have disabled IWA as I want to handle the authentication my self. I have Allow Anonymous checked with the user IUSR_<MachineNa me> and unchecked IWA. It then says I do not have access when trying to access the aspx pages. If I enable IWA. It will prompt for login and will work. I do not want to prompt for login but only use my own login script. I have checked everywhere I can think of to make sure IUSR_ has permissions but cannot seem to fix this issue.

    Can someone point me in the right direction of why it says invalid access 401.2 when IWA is disabled?

    EDIT:
    It is IIS6 with ASP.NET 2.0 with 3.5 Framework.

    Comment

    • arggg
      New Member
      • Mar 2008
      • 91

      #3
      Originally posted by kenobewan
      Check the authentication section of your web.config file. HTH.
      What do I check for? It is set for Windows auth because I want MY login script to do LDAP auth.

      Comment

      • arggg
        New Member
        • Mar 2008
        • 91

        #4
        I figured it out... The issue was that I had <authorizatio n mode="Windows"> Once changed to "Forms" it worked.

        Comment

        • kenobewan
          Recognized Expert Specialist
          • Dec 2006
          • 4871

          #5
          Originally posted by arggg
          I figured it out... The issue was that I had <authorizatio n mode="Windows"> Once changed to "Forms" it worked.
          Well done! Glad you figured it out.

          Comment

          Working...