See Sandbox2 FAQ .
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-22 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-22 UTC."],[[["\u003cp\u003eSandbox2 is a lightweight, secure, and portable sandbox for Linux that runs untrusted code inside a contained environment, limiting its access to system resources.\u003c/p\u003e\n"],["\u003cp\u003eSandbox2's primary use cases include running untrusted code from sources like the internet and implementing sandboxing for security-critical applications, including but not limited to code execution, file system interaction, and network communication.\u003c/p\u003e\n"],["\u003cp\u003eIt's worth exploring Sandbox2 for sandboxing needs where gVisor and other alternatives like containers and virtual machines are too resource-intensive or complex, but equally important is evaluating all relevant options including nsjail and Firejail before making a final decision.\u003c/p\u003e\n"]]],[],null,["See [Sandbox2 FAQ](/code-sandboxing/sandbox2/faq)."]]