Access control

Broken access control in server-side web code: endpoint, object, and property scope, plus trust toward headers and upstream systems.

阅读约 1 分钟更新于 2026年10月7日florianamette1 位贡献者
在你的助手中提问(MCP)在 GitHub 上编辑

Access control (authorization) answers whether a caller is allowed to perform an action on data. Failures are common and high impact. Organize testing and documentation by where the check fails:

SubtopicQuestion
Endpoint levelIs this route or function restricted to the right roles or tenants?
Object levelMay this user access this specific record (IDs, slugs, nested resources)?
Property levelCan the user change fields they should not (mass assignment, partial updates)?
Trust boundaryDoes the app believe headers, client certificates, or upstream identity without sound binding?