QamoosTech
SecurityApplication securityIntermediate

Trust Boundary

PronunciationTRUST BOWN-duh-ree

Definition

A trust boundary is a line in a system where data passes from a less trusted part to a more trusted one, such as from the internet to your server. Data crossing it must be checked.

Where you hear it

In threat modelling sessions, architecture diagrams and security reviews of where to validate input.

Examples

  • Everything coming from the browser crosses a trust boundary.
  • Don't assume internal services are safe; mark that as a boundary too.
  • The API validates the JSON at the trust boundary before the data reaches the service.

Common mistake

Treating the inside of the network as trusted. A single compromised service then walks through everything.

Don't confuse with

A firewall, which enforces some rules at one boundary. The boundary is the concept; controls are placed on it.

Say it at work

  • In a meeting or chatDraw the trust boundaries on the diagram.
  • In an email or ticketValidate at every boundary.