使用MemberShip时Web.config中属性其功能解释
2007-12-11 21:21
459 查看
名称 | 说明 |
name | providers名称 |
type | 类型,用SQL是为:System.Web.Security.SQLMembershipProvider |
connectionStringName | 连接字符串名称 |
enablePasswordRetrieval | 是否允许用户检索其密码(没用的东西,跟机制有冲突)通常False |
enablePasswordReset | 是否允许用户重置密码 |
requiresQuestionAndAnswer | 是否要求用户在进行密码重置和检索时回答密码提示问题 |
applicationName | 标识应用程序特有的用户,相同的用户名可对应于指定了applicationName的多个Asp.Net应用程序 |
requiresUniqueEmail | 是否要求用户Email唯一 |
passwordFormat | 密码加密方式,三种值:clear-->不加密,Hashed-->哈希加密方式,Encrypted |
maxInvalidPasswordAttempts | 最多尝次登陆次数,失败则锁定 |
minRequiredPasswordLength | 密码最短长度 |
minRequiredNonalphanumericCharacters | 密码中特殊字符个数 |
passwordAttemptWindow | 最大尝次登陆时间数,单位:分 |
passwordStrengthRegularExpression | 指定密码格式的正则表达式 |
<connectionStrings>
<clear />
<add name="LocalSqlServer" connectionString=""/>
</connectionStrings>
<system.web>
<membership>
<providers>
<clear/>
<add name="customMemberShipProvider"
type="System.Web.Security.SQLMembershipProvider"
connectionStringName="LocalSqlServer"
<!--其它属性-->
/>
</providers>
</membership>
</system.web>
相关文章推荐
- Visual Studio 2010 实用功能:使用web.config发布文件替换功能
- MVC中以Html.Action形式调用PartialView的Action,如果该Action使用了OutputCache特性,且使用了该特性的CacheProfile属性(即从WebConfig中读取缓存配置),会出现错误:Duration 必须为正数。
- VS web.config/app.conifg配置文件自定义类型使用智能感知功能
- 使用membership时对web.config的配置说明
- Visual Studio 2010 实用功能:使用web.config发布文件替换功能
- Web.config中authentiation节点属性及解释
- 使用QuickPart时应用自定义属性和Web Part Connection功能的演示视频
- 使用QuickPart时应用自定义属性和Web Part Connection功能的演示视频
- 使用membership时对web.config的配置说明
- Visual Studio 2010 实用功能:使用web.config发布文件替换功能
- vs文件属性(生成操作)各选项功能(发布Web项目时使用)
- selenium web driver 使用JS修改input属性
- 使用asp.net2.0或3.5编程加密、解密web.config中的配置信息
- Web.Config文件中使用configSource
- 使用Microsoft URL Rewrite Module for IIS 7.0修改WEB.CONFIG即可实现*.HTML伪静态 无需修改应用程序映射
- Web.config里设置upload文件大小限制的属性是什么来着?在哪个Section里?
- Razor视图使用强类型没有用时需要在web.config里面配置
- Web.config加密——使用aspnet_regiis
- 使用FTP FtpWebRequest UsePassive 属性实现主动上传
- js_html_input中autocomplete="off"在chrom中失效的解决办法 使用JS模拟锚点跳转 js如何获取url参数 C#模拟httpwebrequest请求_向服务器模拟cookie发送 实习期学到的技术(一) LinqPad的变量比较功能 ASP.NET EF 使用LinqPad 快速学习Linq