【发布时间】:2011-02-23 14:07:15
【问题描述】:
我已经阅读了很多关于 CouchDB 中的身份验证的内容,尤其是关于 Cookie 身份验证的内容。 我仍在进行一些测试,一切似乎都运行良好,例如使用此命令:
curl -vX POST $HOST/_session -H 'application/x-www-form-urlencoded' -d 'name=foo&password=bar'
我得到了一个我可以使用的 Cookie。 但我的观点是,每当我在网络上看到 think 样的样本时,用户名和密码总是以纯文本形式发送。
我真的是安全新手,但是如果我首先必须清楚地发送我的凭据,那么 Cookie 身份验证方法有什么好处?
有没有办法至少发送散列密码? 使用类似 IDK 的东西:
curl -vX POST $HOST/_session -H 'application/x-www-form-urlencoded' -d 'name=foo&hashed_password=hashed_bar'
干杯
阿诺
【问题讨论】:
标签: security authentication cookies couchdb