Deny by default
A security rule where nothing is allowed unless a rule specifically permits it.
Deny by default is a security rule of thumb: nothing is allowed unless a rule specifically permits it. A Firewall set up this way blocks every connection except the ones on its list, and a Sandbox (sandbox escape) set up this way stops a program touching any file or network it hasn’t been granted. The opposite approach, allowing everything and blocking known-bad things, fails whenever someone finds something the block list forgot.
See also
- Allowlist
- Least privilege
- Sandbox (sandbox escape)
- Attack surface
- Back door
- Blast radius
- BurbSec
- CISA
Sources
- Deny by Default (glossary)NIST CSRCofficial healthy, checked 2026-11-15 archived copy
- SP 800-53 Rev. 5: Security and Privacy Controls for Information Systems and OrganizationsNIST healthy, checked 2026-11-15 archived copy
- WhitelistWikipedia healthy, checked 2026-11-15 archived copy
In security catalogues
- SC-7(5) Deny by Default — Allow by ExceptionNIST SP 800-53 healthy, checked 2026-11-15 archived copy
- CM-7(5) Authorized Software — Allow-by-exceptionNIST SP 800-53 healthy, checked 2026-11-15 archived copy