Stop Letting AI Agents Touch Your C: Drive
Описание и применение
С помощью маппинга диска Windows можно ограничить доступ AI‑агента к системному диску, предотвращая случайное удаление файлов.
Задача
AI coding agents can access and modify sensitive system files such as .ssh and hosts, potentially deleting the entire C: drive.
Результат
By mapping the agent’s workspace to a dedicated drive letter, the agent’s access is limited to that drive, eliminating the risk of accidental system modifications.
Рабочий процесс
- Map a dedicated drive letter for the agent’s workspace using Windows drive mapping (e.g., subst.scsoi.com for local folders or drive.scsoi.com for WebDAV/cloud).
- Configure the AI agent to use the mapped drive as its workspace.
- Run the agent; it can read/write only within the mapped drive.
- The agent cannot see or modify files outside the mapped drive.
- No additional containers or VMs are required.
- The setup is a one-time purchase and configuration.
- Agents can run indefinitely without risking system integrity.
Доказательства
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.
Map the agents workspace to its own drive letter. Done.
You dont need Docker Desktop. You dont need a VM. You just need Windows drive mapping, which has existed for 30 years.
- Дата записи: 2026-10-24T09:26:08.480Z