---
title: "Secure by Design & Default | FiveStudy"
description: "The three secure-by-design principles and why secure-by-default products, with security already on out of the box, protect the users who never change a setting."
url: https://fivestudy.com/guides/ap-cybersecurity-5-5-a-secure-by-design-default
---

[AP Cybersecurity](https://fivestudy.com/ap-cybersecurity) · Study guide

# Secure by Design & Default

[Figure: FiveStudy]

FiveStudy

AP® Cybersecurity · Unit 5 · Applications, Data & Cryptography

AP® Cybersecurity · Unit 5 · Applications, Data & Cryptography

# Secure by Design & Default

What it means to build security into every phase of a product, the three secure-by-design principles, and why security features should be on out of the box.

1. Security from the start 2. The three principles 3. Secure by default 4. Spotting the difference 5. Worked examples 6. Common mistakes

## 1 Security from the start

**Secure by design** is an initiative that encourages companies to include security in **all phases of product development**, starting with design. Security becomes a design principle, not a technical feature added at the end. Fixing a weakness on paper during design costs far less than recalling a product, or patching millions of devices after attackers find the flaw.

**Figure 1.** Secure by design is about how a company works, not one feature. Secure by default is the part a customer sees first: a product that is safe the moment it is switched on.

## 2 The three principles

| Principle | What it means | What it looks like |
| --- | --- | --- |
| Take ownership of customer security outcomes | Build products that meet customers' security needs, instead of expecting customers to secure them | Updates install themselves; strong settings need no expert to turn on |
| Embrace radical transparency and accountability | Share relevant security news and updates quickly | Publishing a vulnerability notice and the fix as soon as it is ready |
| Build organizational structure and leadership | Have leaders focused on security, with a security-first posture | A senior security leader who can delay a launch until a flaw is fixed |

## 3 Secure by default

Secure by design includes **secure by default**: security features for software and devices should be **enabled by default**, so the product is secure to use out of the box. Most people never change factory settings. Whatever the default is, that is the security most customers will have.

Compare the factory settings of two home security cameras:

Camera A: factory settings

```
Admin password                     admin / admin (same on every unit)
Remote access from the internet    on
Video stream encryption            off
Automatic security updates         off
Old Telnet service                 running
Failed-login lockout               none
```

Camera B: factory settings

```
Admin password                     unique, printed on the label; must change at first login
Remote access from the internet    off until the owner turns it on
Video stream encryption            on
Automatic security updates         on
Old Telnet service                 removed
Failed-login lockout               after 5 tries
```

Camera A works, but all 6 settings leave it exposed until the owner fixes them, and many owners never will. Its shared default password is the kind that credential-stuffing attacks try first. Camera B is secure by default: the owner has to *choose* to open it up.

## 4 Spotting the difference

| Insecure default | Secure by default |
| --- | --- |
| Same default password on every device | Unique password per device, or a forced change at setup |
| Updates off; the user must check | Automatic security updates on |
| Every feature and service turned on | Unused services off until needed |
| Encryption available in a settings menu | Encryption on from the start |
| Multifactor authentication optional and hidden | Multifactor authentication offered or required at signup |

The key idea

Secure by design puts security into every phase of development and into how the company is run: own customers' security outcomes, be transparent and accountable, and lead with security. Secure by default means security features are on out of the box.

## 5 Worked examples

Worked Example 1 Identify the principle

### Which principle?

Name the secure-by-design principle in each: (a) a company posts a public notice about a flaw the same day its fix is released; (b) a router maker makes updates install automatically so customers don't have to; (c) a company's chief security officer can stop a product launch.

1. 1

   (a) Sharing security news quickly: radical transparency and accountability.

2. 2

   (b) Taking on the security work for the customer: ownership of customer security outcomes.

3. 3

   (c) A security-first leader with real authority: organizational structure and leadership.

**Answer:** (a) transparency, (b) ownership of outcomes, (c) leadership.

Worked Example 2 Secure by default?

### The new smart lock

A smart lock ships with Bluetooth unlocking from any distance, a 4-digit default PIN of 0000, and a “security mode” that users can turn on in settings. Is it secure by default? What should change?

1. 1

   The strongest protections are off until the user finds them.

2. 2

   A shared default PIN can be guessed by anyone.

3. 3

   Secure by default would mean security mode on, a unique code required at setup, and unlocking limited to short range.

**Answer:** No. Security features must be on out of the box, not hidden in settings.

Worked Example 3 Explain the benefit

### Why defaults matter

A company says, “Our app supports two-factor login. It's in the settings for anyone who wants it.” Why is this weaker than secure by default?

1. 1

   Most users never change default settings.

2. 2

   So most accounts will have only a password.

3. 3

   Turning two-factor on by default (or at signup) protects most users, not just the few who look for it.

**Answer:** Optional security protects few users. Default security protects most.

Worked Example 4 Design or bolt-on?

### Late security

A team finishes building a school messaging app, then asks the security team to “add security” the week before launch. They find student messages are stored unencrypted, and fixing it means redesigning the database. Which approach would have prevented this?

1. 1

   Security was treated as a feature added at the end.

2. 2

   The storage design was settled before anyone considered encryption.

3. 3

   Secure by design includes security from the first design phase.

**Answer:** Secure by design. Planning encryption during design would have avoided the late redesign.

## 6 Common mistakes

Common Mistake 1 · Treating security as one feature

Secure by design is about every phase and the company's leadership, not adding a login screen at the end.

Common Mistake 2 · Mixing up design and default

Secure by design is the overall approach; secure by default is one part of it: security on out of the box.

Common Mistake 3 · Counting optional security as default

If the user has to find and enable it, it is not secure by default.

Explain secure by default like this

“Camera B is secure by default because its protections are already on when it is unboxed: a unique password, encrypted video, automatic updates, and remote access turned off. Owners who never change a setting are still protected.”

Name the settings that are on by default and explain why that protects users who never change them.

FiveStudy AP® Cybersecurity · Secure by Design & Default
