access control
AI security interview questions tagged access control, across every topic.
11 questions · 5 unlocked for you
Concepts behind "access control"
Explanations of the mechanisms these questions rely on.
Foundational
Authentication versus AuthorizationAuthentication establishes who a caller is: a user, a service or an agent acting for someone. Authorization decides what that caller may do with a specific resource right now. They are separate checks that fail in separate ways. Most real access-control bugs are authorization failures on authenticated requests, and AI agents add a third question: on whose behalf is this action being taken? Identity & Access
Foundational
RAG SecuritySecuring retrieval-augmented generation means three things. Retrieval must enforce the asking user's permissions in code, with permissions copied into the index and kept in sync, tenants isolated and deletions propagated. Retrieved text must be treated as untrusted, because anyone who can write a source can inject instructions or misinformation. And the answer must be handled safely on its way out. Permission failures can expose data even when no prompt injection occurs. LLM Application Security