Windows app · Writes with approval
Safely connect
Codex to
approved
local code.
Connect your project and let Codex request your latest saved code on demand. No ZIP uploads. No repeated copy-paste. You choose the approved folders.
Not currently supported.
C:\Projects\my-projectsrc/Approved scopeapp.js✓ Allowed.env× Protectedprivate-key.pem× ProtectedPropose an edit to src/app.jsOnly approved code requested by Codex is shared with the AI.
Your boundaries stay clear.
Your code keeps changing.
Sharing it shouldn’t mean starting over.
Copying snippets and uploading ZIPs takes time, becomes outdated after edits, and makes you responsible for keeping sensitive files out.
- 01Another edit. Another upload.
Shared snapshots can fall behind as soon as you save a change.
- 02Useful context takes effort.
Picking and pasting files interrupts the work you want help with.
- 03Private code needs boundaries.
Project context can include files and secrets you did not intend to share.
Connect your project.
Share the code Codex needs.
FenceTheCode connects Codex to approved local folders, so it can request your latest saved code on demand.
You choose the boundary.
FenceTheCode checks the requests.
Folder restrictions and protection rules block sensitive files, detected secrets, and outside-folder access. An activity log shows what was allowed or blocked.
Only approved code requested by Codex is shared with the AI.
See how it worksSee FenceTheCode in action.
A walkthrough of connecting a project, reading saved code, and reviewing proposed changes.
One folder.
Three steps to useful help.
Work with the project already on your computer. No repository upload to GitHub.
Choose your folder.
Select a local project and review its access settings. Everything outside the approved boundary stays out of reach.
Connect to Codex.
Connect the local MCP server to Codex in ChatGPT Desktop. Your files stay in your existing workflow.
Ask with context.
Request relevant saved files, then inspect allowed and blocked requests in the activity log.
You choose the boundary.
We check the requests.
You decide where Codex can look. FenceTheCode checks the requests against your project boundary and protection rules.
Approved folders.
Nothing outside the fence.
Choose your project folders. Requests beyond those boundaries are blocked.
src/app.js ✓Outside-folder request → BlockedKeep sensitive files out.
Protection rules block sensitive files and detected secrets, including .env files and private keys, and restrict ignored folders.
.envprivate keysignored foldersReview requests. Approve changes.
Review allowed and blocked requests in the activity log. In Write with approval mode, inspect proposed changes and apply the ones you approve in FenceTheCode.
See how the log works ↗Your project.
Your way of working.
Private code. Focused help.
Give Codex useful context from your project without putting the repository on GitHub.
Build with a clearer boundary.
Work with saved local files and understand what the assistant is requesting.
A guide that gets to the point.
From selecting a project to reading a file and checking the activity log.
Start with a clearer boundary.
Windows · Codex / ChatGPT Desktop
Checkout and delivery are handled through Dodo Payments.
Get FenceTheCode.
One-time purchase. Delivery through Dodo Payments.
Continue to Dodo Payments to enter your checkout details.
Review our Terms, Privacy Policy, and Refund Policy.
Good questions.
Straight answers.
Can I get a refund?
Yes. Request a full refund within 7 days of purchase. This is in addition to any rights you have under applicable consumer law. See the Refund Policy link in the footer for instructions.
What code is shared with the AI?
Only approved code requested by Codex is shared with the AI. Your project remains local. Shared content is subject to the AI provider’s policies and your account settings.
Do I need GitHub?
No. Work directly with approved local folders on your Windows computer. FenceTheCode does not provide cloud code storage.
Will Codex see my latest changes?
Yes, after you save them. FenceTheCode reads the latest saved contents of allowed files on demand.
What does FenceTheCode block?
Protection rules restrict .env files, API keys, private keys, ignored folders, and requests outside approved folders. Review your folder selection and protection settings before sharing code.
Can Codex edit my files?
Yes. In Write with approval mode, Codex can propose changes for you to review and apply in FenceTheCode. Read-only mode remains available.