cd /news/ai-agents/stop-letting-ai-agents-touch-your-c-… · home › topics › ai-agents › article
[ARTICLE · art-156649] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Stop Letting AI Agents Touch Your C: Drive

A developer published a method for sandboxing AI coding agents on Windows by mapping the agent's workspace to its own drive letter using the built-in subst command, rather than relying on Docker or a VM. The approach confines the agent to a single drive so it cannot read or modify files outside that workspace, such as the .ssh folder or hosts file. The tools are offered as one-time purchases.

read1 min views1 publishedOct 24, 2026
Stop Letting AI Agents Touch Your C: Drive
Image: Dev.to

Your AI coding agent can read your .ssh folder. It can edit your hosts file. It can delete your whole C: drive if it goes wrong.

Why are you letting it?

#

The fix

Map the agents workspace to its own drive letter. Done.

  • Local folder workspaces: subst.scsoi.com
  • WebDAV/cloud workspaces: drive.scsoi.com

The agent sees a normal drive. It writes there happily. It cannot see anything outside that drive.

#

No containers needed

You dont need Docker Desktop. You dont need a VM. You just need Windows drive mapping, which has existed for 30 years.

Both tools are one-time purchases. Set it up once, run agents worry-free forever.

── more in #ai-agents 4 stories · sorted by recency
── more on @subst 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/stop-letting-ai-agen…] indexed:0 read:1min 2026-10-24 · —