Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/cli/configuration/sandbox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ keywords:
"isolation",
"seatbelt",
"bubblewrap",
"mxc",
"windows",
"permissions",
"denyWrite",
"denyRead",
Expand All @@ -29,7 +31,8 @@ OS-level sandboxing lets users set filesystem and network boundaries for Droid.
Sandbox enforces its filesystem and network boundaries with the same operating-system primitives the OS uses to confine untrusted software, so a blocked read, write, or connection is denied by the kernel rather than relying on Droid to police itself:

- **macOS** -- Seatbelt (the built-in macOS sandbox) profiles restrict filesystem and process access.
- **Linux and WSL2** -- [bubblewrap](https://github.com/containers/bubblewrap) with a seccomp filter provides the same confinement.
- **Linux** -- [bubblewrap](https://github.com/containers/bubblewrap) with a seccomp filter provides the same confinement.
- **Windows** -- Microsoft MXC provides the same confinement natively, and the Linux sandbox is used when Droid runs in WSL2.
- **Network (all platforms)** -- outbound traffic is routed through an HTTP/SOCKS filtering proxy that permits only the allowed domains (Factory's own domains are always allowed).

Because Sandbox relies on these host primitives, it blocks rather than running without isolation when they are unavailable.
Expand Down
5 changes: 4 additions & 1 deletion docs/jp/cli/configuration/sandbox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ keywords:
"isolation",
"seatbelt",
"bubblewrap",
"mxc",
"windows",
"permissions",
"denyWrite",
"denyRead",
Expand All @@ -29,7 +31,8 @@ OS レベルのサンドボックスにより、ユーザーは Droid に対し
サンドボックスは、OS が信頼できないソフトウェアを隔離するために使うのと同じオペレーティングシステムのプリミティブでファイルシステムおよびネットワークの境界を強制します。そのため、ブロックされた読み取り・書き込み・接続は、Droid が自身を取り締まることに頼るのではなく、カーネルによって拒否されます:

- **macOS** -- Seatbelt(macOS 組み込みのサンドボックス)のプロファイルがファイルシステムおよびプロセスへのアクセスを制限します。
- **Linux および WSL2** -- [bubblewrap](https://github.com/containers/bubblewrap) と seccomp フィルターが同等の隔離を提供します。
- **Linux** -- [bubblewrap](https://github.com/containers/bubblewrap) と seccomp フィルターが同等の隔離を提供します。
- **Windows** -- ネイティブ環境では Microsoft MXC が同等の隔離を提供し、Droid を WSL2 で実行する場合は Linux のサンドボックスが使用されます。
- **ネットワーク(全プラットフォーム)** -- 送信トラフィックは HTTP/SOCKS フィルタリングプロキシ経由でルーティングされ、許可されたドメインのみを通過させます(Factory 自身のドメインは常に許可されます)。

サンドボックスはこれらのホストのプリミティブに依存するため、それらが利用できない場合は、分離なしで実行するのではなくブロックします。
Expand Down
Loading