【发布时间】:2014-06-16 15:52:58
【问题描述】:
从安全的角度来看,存储用于登录的加密密码是否有任何区别?我正在考虑类似以下内容:
Password = 123456
Encrypted = 21909qujea8je2829dj92
url = selectaccount.aspx?p=21909qujea8je2829dj92&email=someemail@somewhere.com
or
Session["encryptedPassword"] = 21909qujea8je2829dj92
Session["LoginEmail] = someemail@somewhere.com
【问题讨论】:
-
为什么要存储密码?为什么不检查密码是否有效,然后将检查结果存储在会话状态中?
-
我需要使用该密码登录用户。
标签: asp.net security session login