trust boundary

A line in a system where data passes between parts that trust each other differently, such as from the internet into your service or from your service to a vendor.

In more detail

Every crossing of a trust boundary needs a decision: what protects it, and whether the data should cross at all. Every request from the internet crosses one, so tokens and input must be validated there before use. Code paths are boundaries too: in injection bugs the boundary is the point where input reaches an interpreter.

Example

In the course, the only flow that stays inside one boundary is the one between the web app and the database in the same private network.

Related terms

Taught in

References

Certification courses