允许选择在配置文件中定义名称和密码凭据。您还可以实现自定义的密码架构,以使用外部源(如数据库)来控制验证。

Caution note警告

这种存储凭据的方法只适用于不需要高级别安全性的应用程序。

configuration 元素(常规设置架构)
??system.web 元素(ASP.NET 设置架构)
????authentication 元素(ASP.NET 设置架构)
??????authentication 的 forms 元素(ASP.NET 设置架构)
????????authentication 的 forms 的 credentials 元素(ASP.NET 设置架构)
<credentials 
   passwordFormat="[Clear|SHA1|MD5]"
>
  <user />
</credentials>

Expand 图像属性和元素

Expand 图像备注

Expand 图像示例

Expand 图像元素信息

Expand image请参见