# Sandbox

A controlled execution environment with restrictions on access to resources outside the authorized activity.

Canonical URL: https://thecompanybrain.com.br/en/glossary/sandbox
Authors: Luiz Gardelin
Updated: 2026-11-15T00:16:55.534Z

A sandbox is a controlled execution environment in which a program receives restricted access to resources. The [NIST glossary](https://csrc.nist.gov/glossary/term/sandbox) collects definitions involving limited permissions, restrictions on accessible resources, and separation of guest systems. These definitions come from different documents and need interpretation within their respective contexts.

The term is useful when discussing code execution, tool testing, or agent operations. The concrete purpose needs to be stated: preventing changes outside a folder, restricting network access, or limiting other actions. Calling an environment isolated does not specify which controls have been implemented or demonstrate that all resources are protected in the same way.

## Restrictions that can be checked

Assessment begins with what the program can read, write, and invoke. The team should also document allowed connections and resources that remain shared. Restrictions need behavioral verification, including attempts that should be refused. A label assigned to an environment does not replace those checks.

A testing environment may permit extensive access to external systems. Testing and isolation are therefore different properties. Similarly, running an activity separately does not establish absolute security. The definitions collected by NIST describe mechanisms and contexts of restriction; they do not automatically certify every tool using the term sandbox.

## Hypothetical example

An organization allows a tool to analyze sample files in a specific folder. The environment is configured to prevent changes outside that folder and receives no credentials for internal systems. During verification, the team tests authorized reading and writing, attempts to reach external files, and records the expected refusals. Sample files exclude real information unnecessary for the test.

The conclusion is limited to the restrictions examined and the configuration used. If an [integration](/en/glossary/systems-integration) is added, the team should review what becomes accessible and repeat the relevant checks. A sandbox forms part of the design for controlling execution. Its usefulness depends on boundaries that are explicit, maintained, and understandable to the people authorizing activities and taking responsibility for their effects. Those boundaries need attention whenever the environment's capabilities change.

## Sources

- [Sandbox: NIST CSRC Glossary](https://csrc.nist.gov/glossary/term/sandbox): Collects definitions from distinct sources on controlled execution and restricted permissions.

## Related reading

- [Production environment](/en/glossary/production-environment)
- [Software testing](/en/glossary/software-testing)
- [Systems integration](/en/glossary/systems-integration)
- [AI that generates images: which tools exist and how to use them in your company?](/en/articles/ai-image-generator)
- [How do you prospect clients with AI in your company?](/en/articles/prospecting-clients-ai-company)
- [AI for social media: how to use it in your company's social media routine, from planning to analysis](/en/guides/ai-for-social-media)
