FormsAuthentication这个类是怎么用的?

来源:百度知道 编辑:UC知道 时间:2024/06/05 14:12:10
FormsAuthentication.这个类怎么用?怎么跟web.config配合?FormsAuthentication.HashPasswordForStoringInConfigFil是什么意思?
各位帮帮忙,难住了。。。

这个函数可以对明码进行加密

怎么跟web.config配合?
这个就是说有时候可能你要在web.config中存储一些敏感信息,就可以使用这个加密

http://msdn.microsoft.com/zh-cn/library/system.web.security.formsauthentication(VS.80).aspx

http://msdn.microsoft.com/zh-cn/library/system.web.security.formsauthentication.hashpasswordforstoringinconfigfile(VS.80).aspx

不想多说,
http://msdn.microsoft.com/zh-cn/library/system.web.security.formsauthentication(VS.80).aspx

http://msdn