Sandbox2 とは
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
信頼できないコードのサンドボックス化は、ソースコードにアクセスできないサードパーティ開発のソフトウェアに依存する必要がある場合や、ソースコードの評価を行うリソースがない場合に役立ちます。サンドボックスは、独自のコードの追加のセキュリティ境界としても役立ちます。
Sandbox2 は、Google のセキュリティ エンジニアが作成した Linux 用のオープンソースの C++ セキュリティ サンドボックスです。Sandbox2 を使用すると、実行環境を正当なオペレーションに必要な最小限に制限できるため、コード実行の脆弱性の影響を抑えることができます。
Sandbox2 を使用すると、C/C++ で記述されたプログラム全体またはプログラムの一部をサンドボックス化できます。
利用可能なドキュメント
Sandbox2 の説明 - Sandbox2 の基盤となるテクノロジーとアーキテクチャについて説明します。
スタートガイド - 独自の Sandbox2 サンドボックスを実装するためのガイダンスを提供します。
例 - さまざまなシナリオで Sandbox2 を使用する方法とポリシーを記述する方法を示す例を提供します。
FAQ - Sandbox2 に関するよくある質問に回答します。
Sandbox2 を取得する
Sandbox2 は、サンドボックス化された API(SAPI)の一部です。ソースコードは https://github.com/google/sandboxed-api/tree/main/sandboxed_api/sandbox2 からダウンロードできます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-27 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-27 UTC。"],[[["\u003cp\u003eSandbox2 is an open-source C++ sandbox developed by Google for enhancing security by restricting the runtime environment of untrusted code.\u003c/p\u003e\n"],["\u003cp\u003eIt allows you to isolate entire programs or specific code segments, minimizing the impact of vulnerabilities.\u003c/p\u003e\n"],["\u003cp\u003eSandbox2 is especially useful when dealing with third-party software where source code access or assessment is limited.\u003c/p\u003e\n"],["\u003cp\u003eComprehensive documentation, including explanations, guides, and examples, is available to help you understand and implement Sandbox2.\u003c/p\u003e\n"],["\u003cp\u003eAccess Sandbox2's source code through the Sandboxed API (SAPI) repository on GitHub.\u003c/p\u003e\n"]]],[],null,["Sandboxing untrusted code is useful when you have to rely on third-party\ndeveloped software where you don't have access to source code, or you don't have\nresources to perform a source code assessment. Sandboxing can also be useful as\nan additional security boundary for your own code.\n\nSandbox2 is an open-source C++ security sandbox for Linux written by security\nengineers at Google. With Sandbox2 you can restrict the runtime environment to\nthe minimum required for genuine operations, thus limiting the impact of\npotential code execution vulnerabilities.\n\nSandbox2 can be used to sandbox entire programs or portions of programs written\nin C/C++.\n\nAvailable Documentation\n\n- [Sandbox2 Explained](/code-sandboxing/sandbox2/explained) --- Describes\n Sandbox2's underlying technology and architecture.\n\n- [Getting Started](/code-sandboxing/sandbox2/getting-started) ---\n Provides guidance helping you implement your own Sandbox2 sandbox.\n\n- [Examples](/code-sandboxing/sandbox2/examples) --- Provides examples\n demonstrating how to use Sandbox2 in different scenarios and how to write\n policies.\n\n- [FAQ](/code-sandboxing/sandbox2/faq) --- Addresses frequent queries\n regarding Sandbox2.\n\nGet Sandbox2\n\nSandbox2 is part of [Sandboxed API (SAPI)](/code-sandboxing/sandboxed-api). You\ncan download the source code from:\n\u003chttps://github.com/google/sandboxed-api/tree/main/sandboxed_api/sandbox2\u003e."]]