Security foundations Defense in depth 2 min read
What is defense in depth?
A teammate forwards a private document link to someone outside the workspace. The link still works for its intended readers. What protects the document now?
-
The link reaches the document service
The sharing interface limits who receives the link, which reduces accidental exposure. Once someone forwards it, the link still identifies the document. The server now has to decide whether this particular caller may read it.
In short Controlling distribution helps keep the link from spreading.
-
The server checks the person opening it
The server checks the signed-in account against the document’s access list. The recipient is outside that list, so the request is denied. The server check still works after the link leaves the intended audience.
In short Ask which safeguard still works if the first one fails.
Where this example stops
The safeguards protect different steps, but a bad access policy can still grant the wrong person access. Check that the layers cover distinct failures.
Keep this
Choose safeguards that cover different failures.
Pick one layer and ask what still protects the document when that layer fails.