insideout Get Pro

07 · Failing closed

Pro

Web and API Security, lesson 7

Failing closed

Make every error path and default end in the safe state.

The paths nobody tests decide more than they should: a timeout, an error, a setting left at its default. You'll make each one end in the safe state, price what that costs against an availability target, and set the defaults a server and a browser start from. You need Security Foundations' "Secure design principles", which named the rule: when a check can't decide, the answer is no.

Part of Pro

In this lesson
  1. Errors and timeouts that end in no
  2. Defaults that ship safe
  3. Headers that set the browser's defaults

Cybersecurity comes with Pro: every lesson in every module.

Web and API Security overviewSpotted a mistake? Tell us.