跳到正文
DEV Community· 疏影·· 1 小時前AI 評分20

別再讓 AI 編碼智能體接觸你的 C: 磁碟機

Stop Letting AI Agents Touch Your C: Drive

AI 導讀

文章建議把 AI 編碼智能體的工作區映射到專用磁碟機代號,讓智能體只能存取該磁碟機,無需使用容器、Docker Desktop 或虛擬機器。本機資料夾工作區可用 subst.scsoi.com,WebDAV/雲端工作區可用 drive.scsoi.com;兩項工具均為一次性購買。文章指出,Windows 磁碟機映射功能已存在 30 年。

正文

疏影

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.

來源:DEV Community · dev.to