explicit deny
A policy statement with Effect Deny that matches a request, which refuses it no matter what any other policy allows.
In more detail
An explicit deny anywhere ends the evaluation: no allow can win it back. That makes it the tool for guardrails, such as never deleting a bucket. When debugging an explicit deny, look for the statement that forbade the call.
Related terms
- implicit deny — The refusal a permission system gives when no rule allows a request, even though nothing explicitly denied it.
- policy evaluation logic — The fixed order AWS uses to decide a request: an explicit deny wins, otherwise any allow wins, otherwise the answer is deny.
- guardrail — A control that blocks a dangerous action whatever else is allowed, such as an explicit deny or a block on public access.
Taught in
- The Root Key In The Backup Script — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Policy Evaluation: Deny Wins, And Both Accounts Must Agree — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Many Accounts: Organizations, SCPs And Control Tower — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- The Network As A Control: CIDR, Routes, ACLs And Security Groups — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Private Paths: VPC Endpoints And PrivateLink — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- The Shared Responsibility Model — Cloud Infrastructure & Hyperscaler Architecture
- Users, Groups and Roles — Cloud Infrastructure & Hyperscaler Architecture
- Policies and Least Privilege — Cloud Infrastructure & Hyperscaler Architecture
- Policy Simulation and Dry Runs — Cloud Infrastructure & Hyperscaler Architecture
- The Intern Who Could Delete Backups: Identity And Access — CompTIA Cloud+ (CV0-004) Exam Prep
- Service Control Policies & Guardrail Architecture — Cloud Security & DevSecOps Engineering
- Cloud IAM Architecture & Permission Boundaries — Cloud Security & DevSecOps Engineering
- Envelope Encryption & Data Protection with KMS — Cloud Security & DevSecOps Engineering