How Do You Control AI Assistant Access to Files and Inboxes?
Treat every AI assistant connection to a drive, folder, or inbox the same way you'd treat a new employee's access request: scope it to what the task actually needs, make it revocable, and keep a record of it. A blanket connection to an entire mailbox or shared drive hands the assistant every hidden instruction sitting inside those documents, not just the data you meant to give it, and most companies have no central view of how many of these connections already exist across their laptops.
Why this access is riskier than it looks
Modern AI assistants increasingly offer to connect directly to a company's data: a shared drive, a mailbox, a project management tool, a file system. Once connected, the assistant can read across that entire surface whenever it's asked a question, which is exactly the point — it's what makes it useful for answering "what did we agree with this vendor" or "summarize this week's emails."
The same connection that makes it useful also makes it exposed. A shared drive accumulates files from outside the company — attachments from vendors, documents from partners, spreadsheets from contractors — and any one of those can carry a hidden instruction aimed at whatever reads it next. An inbox is worse: it's largely made of messages written by people outside the company, any of whom could include text meant for an AI assistant rather than a person. Connecting an assistant to either one means it inherits everything sitting inside, including content nobody on the inside ever reviewed.
Scope the connection, not just the account
The fix isn't to refuse these connections — they're genuinely useful — it's to scope them the way you'd scope any other access grant.
| Connector | Common default | Better scope |
|---|---|---|
| Shared drive | Entire drive or organization-wide folder | Specific project folder relevant to the task |
| Inbox | Full mailbox, read and search | A specific shared mailbox or labeled folder, read-only |
| File system (desktop agent) | Whole user profile or disk | A named working directory |
| Third-party tool connector | Full account, read and write | Read-only, scoped to the records actually needed |
Separating read access from the ability to act (send, write, delete) matters as much as narrowing the folder. An assistant that can only read a folder and draft a response is far lower risk than one that can read the same folder and send on someone's behalf without a checkpoint.
The inventory problem
Most of these connections get turned on by an individual employee, inside the assistant's own settings, not through an IT provisioning process. That means the most common state in a company that hasn't addressed this isn't "too much access granted" — it's "nobody knows what's connected." A reasonable question like "which laptops have an AI assistant connected to a company mailbox right now" often doesn't have an answer, because each connection lives inside a different app's settings on a different machine.
That's the gap that needs closing before scoping rules mean anything: visibility first, then policy. You can't apply least privilege to a connection you don't know exists.
Where to enforce it
Because these connections are configured inside each assistant, enforcement has to happen at the same layer — on the device, inside the apps themselves — rather than hoping a network-level control notices unusual data access patterns after the fact. DriftLock runs locally on macOS and Windows alongside Claude Desktop, Claude Code, Copilot, Cursor, VS Code, Windsurf and AI in Chrome, Edge and Brave, and gives IT a Console to see which of these connections are active across the company's laptops and to set policy — which assistants can connect to which categories of company data — consistently, rather than leaving it to whatever each employee enabled on their own.
What to take away
- Scope AI assistant connections to drives and inboxes the way you'd scope any access grant: least privilege, specific to the task, and revocable.
- Separate read access from the ability to act; a read-only connection is materially lower risk than one that can also send or write.
- Most of these connections are turned on by employees inside the assistant's own settings, so IT often has no inventory of what's already connected.
- Visibility has to come before policy — you can't scope access you don't know exists.
- Enforcement needs to happen at the device, inside the apps themselves, since that's where the connections are actually configured.