如果使用HTTP认证方案如何检索salt?
是否可以将加盐密码与标准 HTTP 身份验证方案(FORM 或 DIGEST)一起使用?
我正在使用 GlassFish,当我请求受保护的页面时,带有随机数的表单或答案将由服务器直接发回。我看不到任何明显的方法来连接服务器机制以在 302 响应中插入盐(我认为这可能是一个好主意)。因此,我返回的密码可以不加盐地进行哈希处理。
是这样吗?
谢谢。
Is it possible to use salted password along with standard HTTP authentication schemes ( FORM or DIGEST ) ?
I am using GlassFish, and when I request a protected page, the form or the answer with the nonce are sent back directly by the server. I can't see any obvious way to hook into the server mechanism to insert the salt in the 302 response ( which I thought could be a good idea ). Thus the password I return can just be hashed without salt.
Is it so ?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论