知识卡片
凭据发送与挑战证明不同
口令认证可以把用户名和口令表示发送给验证端,例如HTTP Basic;这类表示本身不提供传输保密,需受保护连接。挑战响应则让验证方发随机值,由持有秘密的一方给出可验证回答,以证明自己知道秘密,而不直接发送秘密本身。二者是不同证明方式;具体协议安全性仍依赖实现,不能把概念流程当成可自行设计认证算法的配方。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 宏观架构中的安全 · 查看原书依据
The recommended authentication flow never sends passwords to the server. Rather, clients demonstrate they have the password or the security key (e.g., using a shared key or public-private key pair) by encrypting a random challenge string sent by the server and then sending it back. If the server can decrypt the encrypted challenge and reproduce it, the server knows that client has the correct key.
参考来源
- 位置:《Software Architecture and Decision-Making》第08章《宏观架构中的安全》(来源项目:book-sources;源文件:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch08.xhtml)
- 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。
- 原始内容:The recommended authentication flow never sends passwords to the server. Rather, clients demonstrate they have the password or the security key (e.g., using a shared key or public-private key pair) by encrypting a random challenge string sent by the server and then sending it back. If the server can decrypt the encrypted challenge and reproduce it, the server knows that client has the correct key.