Deny
The list of actions that Claude is never allowed to take, for example reading the passwords. The prohibition always wins.
How it appears in the course
"deny" — the list of things that are forbidden. Here: reading the .env file (where passwords and secret keys are usually kept), the secrets folder, forced deletion (rm -rf) and downloading from the internet (curl).
The order in which Claude checks the rules: deny → ask → allow. First it looks at the prohibitions. If something is forbidden, it’s forbidden, even if it also appears in the “allow” list. Deny always wins.
allow = does it on its own, ask = asks you, deny = forbidden. Deny always wins.
Where you learn it
In module 03 · Permissions: what Claude may do, in the Claude Code for Beginners course.
Related terms
Learn Claude Code from zero, in plain English
12 modules with 1–2 minute lessons, which you can also do on your phone. The first two modules are free.