zoukankan      html  css  js  c++  java
  • 利用web.config设置用户不被锁定

    下边是web.config中的一段,其中的 maxInvalidPasswordAttempts="3" 是输入错误密码时允许的最大次数,可以修改为10000,或更多。

    <configuration>
    <connectionStrings>
    <add name="ADService" connectionString="LDAP://ldapServer/" />
    </connectionStrings>
    <system.web>
    <membership defaultProvider="AspNetActiveDirectoryMembershipProvider">
    <providers>
    <add name="AspNetActiveDirectoryMembershipProvider"
    type="System.Web.Security.ActiveDirectoryMembershipProvider,
    System.Web, Version=2.0.3600, Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a"
    maxInvalidPasswordAttempts="3"
    passwordAttemptWindow="10"
    passwordAnswerAttemptLockoutDuration="15" />
    </providers>
    </membership>
    </system.web>
    </configuration>
  • 相关阅读:
    人机猜拳
    M1分数分配
    postmortem report of period M1
    视频文档分享网站场景测试说明书
    功能规格说明书
    11.9Daily Scrum
    11.6Daily Scrum
    需求博客
    11.5Daily Scrum
    11.3Daily Scrum
  • 原文地址:https://www.cnblogs.com/fbb/p/767824.html
Copyright © 2011-2022 走看看