Draw trust zones and data flows
Mark where trust changes with zones, put each component in one, and draw the data that moves between them.
Goal
Your model shows where trust changes and how data moves: the web app in its own zone, the bucket and database in another, and four flows that say what crosses between them.
Before you start
Name the zones. Click the empty canvas, so the panel shows the model. Under TRUST ZONES it reads No zones yet. Zones mark where trust changes, such as the internet edge. Type
Web tierin the box under it and press Add, then do the same forData tier. Each zone is listed with the number of components in it, 0 for now, and a bin to remove it. A zone with nothing in it is not drawn on the canvas.Put a component in a zone with its picker. Click Web app. The third picker under its name reads No zone. Choose Web tier. The panel's first line becomes PROCESS · WEB TIER, and a dashed box labelled WEB TIER is drawn round the card. Click Invoice database and choose Data tier the same way.
Or with a right-click. Right-click Invoice bucket. The menu offers Connect to…, Move to zone, Duplicate, Simulate an attack path from here and Remove component. Rest on Move to zone and choose Data tier.
Leave the people outside. Customer and Administrator stay in no zone. They are not part of the system: they reach it across the internet, and that crossing is where a model looks hardest. The panel now lists Web tier 1 and Data tier 2.

Draw the first flow from the menu. Right-click Web app, rest on Connect to…, and choose Invoice database. An arrow joins them, pointing from the side that starts the conversation to the side that answers, and the panel turns to the new flow: DATA FLOW, Web app → Invoice database, and a box for its label. Type
SQL, what crosses the link. Keep a label to a few words: the canvas leaves little room between cards, and a long label runs under them.A flow has three STRIDE questions of its own: tampering, information disclosure and denial of service, and its own suggestions, such as Data in transit is altered by someone in the network path. Draw the next one the same way, from Web app to Invoice bucket, labelled
PutObject, GetObject. Connect to… lists only the components this one does not already send to.

Or drag one. Each card has a small dot on its right edge. Drag from the dot on Customer onto Web app and let go. The new flow is selected, Customer → Web app, with an empty label box that reads What crosses this link, e.g. HTTPS or PutObject. Press Tidy layout, and the canvas lays itself out from left to right along the flows. The flow stays selected: type
Sign-in, HTTPS.

Draw the administrator's flow. Drag from Administrator onto Web app, and label it
Admin pages, HTTPS. Press Tidy layout once more, and click the empty canvas.Read the canvas. The people are on the left, Web app in WEB TIER in the middle, the bucket and database in DATA TIER on the right, and four labelled arrows between them. The header reads Open STRIDE questions 30: the 18 from lesson 1, and three for each flow. Press Save.

You should now see
Two zones, four flows, Open STRIDE questions 30, and the button reading Saved.
To change a flow, click its label: the panel shows it, with its label to edit and Remove flow at the foot. Right-clicking a flow offers Remove flow too. A flow points one way. If you drew one the wrong way round, remove it and draw it again from the other end.
Quick check
Go deeper
- Threat models, for how a flow's threats are judged against the logs at both of its ends.