Answer: You configure sandboxing with a `sandbox.json` file placed either at `~/.cursor/sandbox.json` for all project directories on your machine or at `/.cursor/sandbox.json` for one project directory. Use `sandbox.json` to control network policy, extra readable or writable paths, temporary directory writes, and shared build caches. Status: Confirmed Entry: tool/cursor/permissions-and-security/configure-sandbox Revision: 1 Digest: sha256:45b8a2273eaf753e (changes whenever the content changes) Timeline: Created: 2026-11-13T03:09:18Z Last changed: 2026-11-13T03:09:18Z Last verified: 2026-11-20T12:34:51Z Next check: 2026-11-21T12:34:51Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Global config location | ~/.cursor/sandbox.json | [1] | 2026-11-20 Project config location | /.cursor/sandbox.json | [1] | 2026-11-20 Merge priority | project-level file taking priority | [1] | 2026-11-20 Read access control | extra readable or writable paths | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent/security/run-modes.md". https://cursor.com/docs/agent/security/run-modes.md Role: primary. Accessed: 2026-11-20T12:34:51Z Quote: "`~/.cursor/sandbox.json` | Applies to all project directories on your machine." (Supports: Global config location) Quote: "`/.cursor/sandbox.json` | Applies to one project directory." (Supports: Project config location) Quote: "Cursor merges them with the project-level file taking priority." (Supports: Merge priority) Quote: "Use `sandbox.json` to control network policy, extra readable or writable paths, temporary directory writes, and shared build caches." (Supports: Read access control) Snapshot SHA-256: 3047e773f2f179e85214eaa4f058bc9db6b8e54ac040a55371d7b95766095192 (captured 2026-11-13T03:09:18Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:09:18Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:34:51Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:34:51Z Last attempt: 2026-11-20T12:34:51Z Notes and limitations: Extracted automatically from a single official source (section "Sandbox configuration"). Related: https://latestn.com/tool/cursor/permissions-and-security/default-approval-actions Which Cursor agent actions require my manual approval by default? https://latestn.com/tool/cursor/permissions-and-security/enable-oidc-self-hosted-workers How do I enable OIDC token minting for Cursor Cloud Agents on self-hosted workers? https://latestn.com/tool/cursor/permissions-and-security/enforcement-hooks How do I set up enforcement hooks in Cursor to block or redact operations? https://latestn.com/tool/cursor/permissions-and-security/configure-auto-review How do I configure Auto-review in Cursor? https://latestn.com/tool/cursor/permissions-and-security/configure-cli-permissions How do I configure permissions for the Cursor Agent CLI? https://latestn.com/tool/cursor/permissions-and-security/configure-origin-allowlist How do I configure the origin allowlist for Cursor's browser? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:09:18Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/permissions-and-security/configure-sandbox/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/permissions-and-security/configure-sandbox POST: https://latestn.com/dispute/tool/cursor/permissions-and-security/configure-sandbox with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/permissions-and-security/configure-sandbox?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure sandboxing and read access for the Cursor agent? Revision 1, last verified 2026-11-20T12:34:51Z. https://latestn.com/tool/cursor/permissions-and-security/configure-sandbox (accessed 2026-11-21T10:03:44Z). @misc{LatestN_tool_cursor_permissions_and_security_configure_sandbox_r1, title = {How do I configure sandboxing and read access for the Cursor agent?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/permissions-and-security/configure-sandbox}}, note = {Revision 1; digest sha256:45b8a2273eaf753e; last verified 2026-11-20T12:34:51Z; accessed 2026-11-21T10:03:44Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/permissions-and-security/configure-sandbox