---
title: "Building a safe, effective sandbox to enable Codex on Windows"
url: "https://xlrocket.men/building-a-safe-effective-sandbox-to-enable-codex-on-windows"
markdown_url: "https://xlrocket.men/building-a-safe-effective-sandbox-to-enable-codex-on-windows.md"
format: "link"
published: "2026-10-10T12:17:34.000Z"
link_url: "https://openai.com/index/building-codex-windows-sandbox/"
site: "火箭君 MEN"
---

# [Building a safe, effective sandbox to enable Codex on Windows](https://openai.com/index/building-codex-windows-sandbox/)

译：Codex on Windows：自研 MXC 沙箱怎么炼成

- 默认：工作区可写、几乎任意可读、无网；需 OS 级围栏，Windows 无现成 Seatbelt
- 现方案：提升安装时建沙箱用户 + 防火墙断网；受限 token 控写路径
- 交权限前先问围栏够不够硬——Full Access 与逐条批准之外的中间态
