locked
Browser asing for username/password RRS feed

  • Question

  • User1180806401 posted

    Hi Guys,

    I've and application running over the net and the problem is that everytime is asking me for the server's username/password, by providing the credentials I'm able to access the page, but how can I avoid that?

    this what I have in my web config file, i removed the the whole <authentication> tag but still the same thing

     <authentication mode="Windows">
                <forms loginUrl="~/Public/daLogin.aspx" defaultUrl="~/Public/Default.aspx" name=".ASPXAUTH" path="/" />
            </authentication>
            <authorization>
                <deny users="?" />
                <allow users="*" />
            </authorization>
            <roleManager enabled="true" />

    thanks
      

    Sunday, May 15, 2016 9:48 PM

Answers

  • User-2057865890 posted

    Hi rbadis,

    <authentication mode="Windows">

    Windows Authentication is the default authentication mechanism for ASP.NET applications and is identified as the authentication mode for an application using the authentication configuration element.

    You could disable Windows Authentication and enable Anonymous Authentication in IIS Express, or you could consider using Forms Authentication.

    <authentication mode="Forms">

    Best Regards,

    Chris

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, May 16, 2016 9:57 AM

All replies