Safekipedia

Sandbox (computer security)

Adapted from Wikipedia · Discoverer experience

In computer security, a sandbox is a special way to keep programs separate from each other. This helps protect a computer from problems or harmful software. The idea of a sandbox comes from a place where children play and experiment without causing any real damage.

Sandboxes are often used to test new or untrusted programs. These might come from places we don’t fully know or trust, like websites or different users. By using a sandbox, we can see what the program does without risking harm to the main computer or its operating system.

A sandbox gives guest programs only a small, controlled space to work in. This space, sometimes called scratch space, limits what the program can do. Usually, it can’t access the internet, look at the main computer’s files, or use input devices like a keyboard or mouse. This is similar to how virtualization works. Sandboxes are very useful for testing programs that might have a virus or other malicious code so they can’t hurt the device they’re running on.

Implementations

A sandbox helps keep computers safe by running software in a special, restricted area. This way, if something goes wrong or a program tries to do something it shouldn't, it can't hurt the rest of the computer.

Some examples of sandboxes include tools used by Linux, Android, Apple, and Windows. They also help keep programs safe when testing new or unknown code. Other examples include tools for running code in web browsers and special settings that limit what programs can do to protect the computer.

Related articles

This article is a child-friendly adaptation of the Wikipedia article on Sandbox (computer security), available under CC BY-SA 4.0.