AI Glossary / Data governance and quality / Intermediate
Defense in depth (computing)
Definition
Defense in depth is an information-security strategy that combines multiple complementary safeguards so that protection does not depend entirely on one control. The layers can involve people, procedures, technology, and operational response. They may prevent an incident, detect it, limit its spread, or support recovery. Having many products is not enough: their roles, coverage, dependencies, and likely failure modes determine whether the overall design provides useful depth.
What it means
Every safeguard has limits. A login control can reduce unauthorized account use, but it does not determine whether an authenticated account should access every record. A backup helps recovery but does not prevent confidential information from being copied. Defense in depth connects controls with different purposes around the assets and activities that matter. It also asks what remains effective when another control fails, is misconfigured, or is bypassed through a legitimate access path.
How it works
Identify a concrete security objective and the plausible ways it could fail. Select controls that address different points in those scenarios, assign responsibility, and examine their shared dependencies. Combine prevention with appropriate detection, response, and recovery. Test the design through controlled exercises and review the resulting evidence. If several layers depend on the same account, configuration, or service, record that common point of failure. Adjust the design as workflows and threats change rather than assuming the original stack stays effective indefinitely.
Three practical examples
- Account protection: strong authentication combines with limited permissions and monitoring of unusual privileged activity.
- Data resilience: access restrictions and change detection combine with protected backups and tested restoration procedures.
- AI applications: access control, restrictions on available tools, input handling, output review, and monitoring can address different risks in a workflow that uses a language model.
Think of it this way
Think of a museum using controlled entrances, protected display cases, attentive staff, alarms, and a practiced incident response. Each measure has a different role, and one missed signal need not make every other measure useless. The analogy is limited because digital controls can share invisible dependencies: one compromised administrative identity may affect several supposedly separate layers at once.
Worked example
An original exercise considers unauthorized changes to a production model. The team identifies four safeguards: only a deployment service can publish, changes need an approved artifact, published versions are recorded, and a tested previous version can be restored. These address permission, release integrity, detection or investigation, and recovery. However, the same human account initially controls the deployment service and the artifact-approval rule. The exercise exposes a shared dependency, so the team reviews separation of responsibilities and protects the approval evidence. Counting four controls alone would miss this weakness. The example demonstrates reasoning about coverage rather than a guarantee that four layers are sufficient for every model service.
Illustrative case study
Fictional example: Alder Services purchases two monitoring tools but discovers that both rely on a log feed that frequently stops. Its security team improves feed-health monitoring and establishes who responds when visibility is lost. It also checks whether access controls and recovery arrangements remain effective during that gap. This invented case shows that purchasing overlapping tools can add little practical protection when their shared evidence source is unreliable.
Common misconceptions and mistakes
Do not treat defense in depth as a requirement to install the maximum possible number of controls. Complexity can create errors and make legitimate work difficult. Do not assume the layers fail independently; multiplying advertised detection rates can produce a misleading probability of safety. Avoid counting a documented procedure as effective without checking whether people can follow it. Also, backup and recovery do not reverse all consequences of a confidentiality breach, and a warning that nobody reviews is not a complete response capability.
Business use
The approach helps businesses allocate safeguards according to consequences rather than product categories. For a critical AI service, map the paths for data ingestion, model release, user access, tool execution, and recovery. Identify the controls that protect each path and the owner who maintains them. Evaluate usability, visibility, and response capacity along with technical coverage. The goal is a maintainable design that reduces the chance and impact of realistic failures, with clear evidence about remaining weaknesses.
People also ask
Does defense in depth mean multiple antivirus products?
No. It means complementary protection across relevant people, process, and technology concerns.
Are all layers required to prevent attacks?
No. Detection, containment, response, and recovery can provide different forms of protection.
Can layers share a weakness?
Yes. Shared credentials, infrastructure, configuration, or evidence sources can undermine several controls together.
Check your understanding
Two independent-looking alerts both depend on the same disabled audit log. Does having two alerts provide dependable detection depth?
Answer: Not for events missing from that log. The shared dependency must be recognized, monitored, and addressed through an appropriate design rather than hidden by the count of alerts.
Related terms
- Least privilege
- Segmentation
- Access Control
- Incident response
- Resilience
- security monitoring
- zero trust
Learn next
select one important failure scenario and draw a simple control map. Label what each control prevents, detects, limits, or restores. Then remove one control in a tabletop exercise and ask what evidence and protection remain. Repeat for a shared dependency such as an identity service or logging pipeline.
More in Data governance and quality
- Data truncation - Data truncation is the shortening of a value by removing part of it, usually because a destination, conversion, operation, or limit allows less information...
- Database encryption - Database encryption uses cryptographic methods and keys to protect database information from being read in specified unauthorized circumstances.
- De-perimeterization - De-perimeterization is the shift away from treating an organization's outer network boundary as the main basis for protecting its information.
- Digital continuity - Digital continuity is the ability to keep digital information usable for the purposes and period for which it is needed.
- Dirty data - Dirty data is an informal name for data with quality problems that make it unreliable or unsuitable for an intended use.
- Discretionary access control - Discretionary access control, or DAC, is an approach in which an object's owner or another authorized controller has some discretion to decide who can...
Sources
Sources: NIST CSRC glossary, defense-in-depth, https://csrc.nist.gov/glossary/term/defense_in_depth , definitions and source references consulted; CISA, Improving Industrial Control System Cybersecurity with Defense-in-Depth Strategies, https://www.cisa.gov/sites/default/files/recommended_practices/NCCIC_ICS-CERT_Defense_in_Depth_2016_S508C.pdf , relevant primary search excerpt consulted; CISA, Security Convergence, https://www.cisa.gov/sites/default/files/publications/Security%2520Convergence%2520-%2520Achieving%2520Integrated%2520Security%25202022%2520Edition.final_.pdf , relevant excerpt consulted. Full underlying standards were not reviewed. The computing examples and case are original, and industrial guidance is used only for the general layered-strategy concept.
Previous: Defective sample Next: Definite clause