← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 3512.g.2

匿名客户端靠限流防滥用

理解等级:高级

无注册用户的手机应用既没有用户令牌,又不能安全持有所有用户共享的秘密,调用者只能按匿名访问处理。不能用嵌入客户端的API密钥假装识别可信用户,应通过请求节流等手段治理不公平使用;这种限制控制用量,并不创造身份级权限证明。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 宏观架构中的安全 · 查看原书依据

      Because the client (the mobile app) is not trusted, we can’t give any credentials to it. Hence, our users are anonymous. We can’t provide any permissions-based checks, and we need to handle unfair use by some form of user throttling.

    参考来源

    - 位置:《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) - 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。 - 原始内容:Because the client (the mobile app) is not trusted, we can’t give any credentials to it. Hence, our users are anonymous. We can’t provide any permissions-based checks, and we need to handle unfair use by some form of user throttling.