views:

44

answers:

2

i have a simple website with asp.net membership authentication, so some reason which ever password i type for any user just logs me in. Whether i type fffffffff or 55555555 as the password for any user, am just loggedin.

The wasn't behaving this way just 1 day back. Any ideas what could be wrong, or where i should start troubleshooting from?

A: 

check the webconfig as see if you have the code to prevent anonymous users loggin in and to redirect them....

chugh97
+2  A: 

Make sure you have:

<configuration>
  <appSettings/>
  <connectionStrings/>
  <system.web>
      <authorization>
        <deny users="?"/>
      </authorization>
  </system.web>
</configuration>

in your Web.config and not:

<allow users="*"/> or <allow users="?"/>

to ensure that you're not allowing anonymous access.

Brissles