Fail-Open vs. Fail-Closed Security: What Happens During an Outage? (Explained Clearly)
Compare fail-open vs. fail-closed security to see what happens when a check fails, how each affects access, and when failover can keep protections in place.
π Master your Security+ skills with Pluralsight here: Pluralsight
Youβll learn the difference between fail-open and fail-closed security, how each balances access and protection during an outage, and when failover can keep security checks running without blocking legitimate users.
Chapters:
0:00 Intro
0:14 What do fail-open and fail-closed mean?
0:59 When should a security control fail open or fail closed?
2:14 How do failover and infrastructure diversity keep security checks working?
3:27 Outro
Affiliate notice: Some links may earn a commission. Thanks for your support.
- Fail-open lets an action proceed without the unavailable check, though other controls can still block it. Fail-closed blocks or delays the action until the check can be completed.
- A valid denial is not a failure. Failure modes apply when thereβs no usable decision; default deny applies when a working policy finds no rule that allows the action. Kubernetes admission webhooks illustrate the difference.
- Choose a failure mode for each action, not the whole system. Block sensitive actions such as new admin sign-ins when required MFA is unavailable. Where continuity matters, verify that remaining safeguards are sufficient or offer restricted access instead.
- Failover preserves the check, not just access. Verify that the backup enforces the same policy and that a shared dependency canβt disable both systems.
- Test the outage and the recovery. Check new requests and existing sessions separately, confirm which safeguards still work, and verify what happens to sessions started during the outage.
- π Put these concepts into practice with Pluralsight: use guided labs and feedback to build skills, then use assessments and practice exams to focus your certification prep.
When a security check stops working, should the system let requests through or block them? Fail-open lets the affected action proceed without that check. Fail-closed prevents the action from proceeding unless the check can be completed. Failover offers another possibility: a backup takes over and keeps enforcing the same rules.
The right choice depends on what failed, what users still need to do, and what could go wrong if the action proceeds unchecked.
Fail-Open vs. Fail-Closed Security: What Happens During an Outage?
A failure mode describes how a specific control responds when it canβt make or enforce its normal decision. Consider a web application firewall (WAF) that inspects incoming requests. If inspection becomes unavailable, a fail-open configuration can forward requests without WAF inspection. The application can still require users to sign in. A fail-closed configuration wonβt forward those requests unchecked, even if theyβre legitimate.
FAQ
Quick answers to the questions people usually ask about this topic.
Can the same application fail open for some actions and fail closed for others?
Can the same application fail open for some actions and fail closed for others?
Yes. A site can keep public pages available when its web application firewall (WAF) can't inspect requests while blocking new administrator sign-ins if multifactor authentication is unavailable. Define the fallback for each affected action rather than assigning one failure mode to the entire application.
Does fail-open mean users can access an application without signing in?
Does fail-open mean users can access an application without signing in?
Not necessarily. Fail-open skips only the unavailable check. If a WAF forwards requests without inspection, the application can still require sign-in and enforce permissions. Those controls protect access to restricted content, but they don't replace request inspection.
What should an alert include when a security control fails open?
What should an alert include when a security control fails open?
Identify the unavailable check, when the fallback started, which actions can proceed without the check, and which safeguards are still active. Record when normal enforcement resumes so responders can determine how long the protection was missing.
Does restoring a security control also protect sessions that started during the outage?
Does restoring a security control also protect sessions that started during the outage?
Not always. A recovered inspection engine may check new connections but lack the initial traffic it needs to fully inspect existing ones. Test both groups and decide whether sessions opened during the outage need to reconnect or reauthenticate.
Can an emergency access account coexist with fail-closed administrator sign-ins?
Can an emergency access account coexist with fail-closed administrator sign-ins?
Yes. Normal administrator sign-ins can remain blocked while a separate, monitored emergency account provides a recovery path. For a Microsoft Entra example, see Microsoft's guidance on managing emergency access accounts.
How can I practice applying fail-open and fail-closed concepts after the free series?
How can I practice applying fail-open and fail-closed concepts after the free series?
Try a scenario where a required check becomes unavailable and identify which actions should continue, which should stop, and which safeguards still apply. If you want structured practice, explore Pluralsight for guided security labs and feedback, plus assessments and practice exams to focus your certification prep.
Comments
Add a comment...Pinned by @jaymayor
@jaymayorπ Master your Security+ skills with Pluralsight here: https://www.jaymayor.com/go/security-plus
Some links may earn a commission. Thanks for your support.
