Cybersecurity

Sandboxing

Definition

A sandbox is a security mechanism for separating running programs, usually in an effort to mitigate system failures or software vulnerabilities from spreading. It provides a tightly controlled set of resources for guest programs to run in, such as a scratch space on disk and memory.

Why It Matters

Sandboxing is a powerful technique for analyzing potentially malicious files or URLs in a safe, isolated environment. If the file is malicious, it can detonate within the sandbox without causing any harm to the host system or network.

Contextual Example

An email security gateway receives an email with a suspicious attachment. It automatically sends the attachment to a sandbox environment, where it is "detonated" (opened). The sandbox monitors the file's behavior. If it attempts to encrypt files or connect to a known malicious domain, the gateway blocks the email from reaching the user.

Common Misunderstandings

  • Web browsers use sandboxing to isolate web pages from each other and from the user's computer.
  • It is a key technology for malware analysis and advanced threat detection.

Related Terms

Last Updated: December 17, 2025