Security architecture
Design controls around assets and trust boundaries.
The idea
For the booking SaaS, tenant isolation and reservation integrity are assets worth protecting. Map identities, data stores, entry points, and privileged operations. Place enforcement where authority is known and verify the same control through every entry point.
Follow the flow
Make it concrete
This excerpt isolates the concept. Connect it to the booking API as you work through the exercise.
Assets: tenant bookings, identities, payment references
Trust boundaries: browser → API → database
Controls: resource authorization, parameterized SQL, audit events
Evidence: negative tenant-isolation testsDecisions that matter
- Choose a control against a concrete risk and document its owner.
- Exercise negative cases in authorized test fixtures.
- Retain evidence at a specific revision and revisit it when the system changes.
Your turn
Name a control that belongs in the application even when a reverse proxy exists.
Reveal a worked answer
Resource authorization must remain at the application boundary because the proxy does not own booking data and tenant membership. Test direct application access in a controlled environment as well as the public route.