fail open
What a security control does when it breaks or cannot decide: failing open lets the request through, while failing closed blocks it.
A control that fails open lets requests through exactly when it is broken or bypassed.
In more detail
Failing open keeps a service available but lets attackers slip through while the control is down; failing closed protects the data but can cause an outage. Code that treats a missing answer or an error from a checker as permission fails open. Access checks for sensitive data should normally fail closed, for example refusing a request whose label is missing or unknown.
Examples
may_leave, regions = RULES.get(label, (False, set())) # unknown label: no sharing, no regionsBrowser cannot reach the OCSP responder and accepts the certificate anyway: fail openRelated terms
- deny by default — The rule that anything not explicitly allowed is refused, including when the facts needed to decide are missing.
- aws:MultiFactorAuthPresent — An AWS condition key that is true when the caller signed in with MFA, and is simply missing for requests made with long-term access keys.
- availability — The share of time, or of requests, in which a service works for the people who need it, often written as a percentage such as 99.9 per cent.
- OCSP — A protocol a client uses to ask a certificate authority's server whether one particular certificate is still valid, receiving a signed answer.
- policy enforcement point — In a zero trust architecture, the gatekeeper in the data path that lets a request through to a resource or blocks it, as instructed.
- defense in depth — Using several independent protections, so that if one fails another still limits the damage.
- health check — A regular automated test of whether a program or service is working, such as a request to its health endpoint or a command run inside its container.
- fail fast — Returning an error immediately rather than waiting on something that is likely to fail.
Taught in
- Cloud IAM Architecture & Permission Boundaries — Cloud Security & DevSecOps Engineering
- Public Key Infrastructure: X.509 Certificates & CAs — Cybersecurity Fundamentals, GRC & Cryptography
- Data Classification Schemes & Sensitivity Labeling — Cybersecurity Fundamentals, GRC & Cryptography
- Load Balancing And The Failure Modes It Introduces — Scalable System Design & Distributed Architecture