The Runtime Theory
medium · 3h · 9 steps

Application Security: Model Trust and Protect Data

Identify trust boundaries and apply controls suited to password storage, browser output, and authorization decisions.

Curriculum (9 steps)

1

Threat modeling is a structured way to ask how a system could be misused or attacked.

Start→
2

An interactive concept flow for threat modeling starts with assets and boundaries, from its assumptions through the main operation and boundary checks.

Start→
3

Authentication answers who or what is making a request; authorization decides which actions that identity may perform on a resource.

Start→
4

Password storage should make a stolen database expensive to search.

Start→
5

Follow the key state changes and boundary checks involved in store password verifiers, not recoverable passwords.

Start→
6

Browser security depends on keeping untrusted data from becoming executable code or changing the meaning of a command.

Start→
7

An interactive concept flow for treat browser input as data at every boundary, from its assumptions through the main operation and boundary checks.

Start→
8

Trace untrusted input into a web page, identify the output context, and choose encoding or sanitization at the correct boundary.

Start→
9

Explain the model, execution steps, complexity, and limits of treat browser input as data at every boundary.

Start→