HTTP认证,快速连续收到请求
HTTP 请求可以快速连续地接收,为了避免为每个请求重新运行 while 协议,客户端可以针对多个请求重复使用服务器随机数(随机数的时间戳来确定客户端请求有效的窗口) 。
使用这种方法有什么优点和缺点?
HTTP request may be received in quick succession, for avoiding re-running the while protocol for each request, the server nonce may be re-used (timestamp for nonce to determine the window in which client request are valid) by the client for multiple requests.
What are pros and cons using this method?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
重复使用随机数的优点是它确实需要更少的时间用于维护和检查有效随机数的资源,可以避免管道请求的身份验证失败:
然而,缺点是重放攻击比一次攻击更有可能-时间随机数:
The pros of re-using a nonce are that it does take less resources for maintaining and checking valid nonces and can avoid authentication failures for pipelined requests:
However, the cons are that replay attacks are more probable than with one-time nonces: