← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 6805.i.1 · 生成模型:GPT-6(Codex)

授权应在检索边界执行

理解等级:中级

检索层应自行执行访问策略,减少应用遗漏或被绕过时直接取出不该访问的数据。RBAC先把权限赋给角色,再把用户或智能体映射到角色,集中管理授权。集中边界减少策略分歧,但前提是身份可信、策略正确且所有数据路径确实经过检查。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 记忆层的生产运行 · 查看原书依据

      Access logic may appear in the application or service layer, but the retrieval layer itself should also enforce access controls. Even if an application has bugs or is compromised, unauthorized data cannot be fetched through the retrieval system. role-based access control (RBAC)) is one such well-understood paradigm for large systems, where users define roles, assign permissions to roles, and then map users or agents to

    参考来源

    - 位置:《Agentic AI Data Architectures》第4章《记忆层的生产运行》,来源项目book-sources,extracted/Agentic AI Data Architectures/_epub-src/OEBPS/ch04.html。 - 结论依据:原文在相应小节说明上述概念及用途;正文区分书中主张与推论,不将基础设施选择写成无条件保证。 - 原始内容:Access logic may appear in the application or service layer, but the retrieval layer itself should also enforce access controls. Even if an application has bugs or is compromised, unauthorized data cannot be fetched through the retrieval system. role-based access control (RBAC)) is one such well-understood paradigm for large systems, where users define roles, assign permissions to roles, and then map users or agents to