开发者

asp.net wrong password just logs me in

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 55开发者_开发百科555555 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?


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜