Your Drive has handed out spare keys to everyone. Let's get them back.
Public links, former contractors, personal Gmail addresses: the step-by-step guide to finding out who can still open your Google Drive files, tightening the right Admin console settings and locking up without breaking anything.

Every click on “Share” over the years is still there. The quote sent to a contractor, the schedule opened up to a client, the folder handed to the intern on their Gmail address. The jobs are done, the people have moved on. Their spare keys, however, are still on their key rings.
Nobody tidies up, because nobody can see any of it. How many files are open to the outside world, and to whom? No idea. The former contractor, whose job wrapped up two years ago, still has access to the folder (and to everything filed in it since). The “Anyone with the link” link is doing the rounds in a forwarded email, and the file is tagging along. And then Gemini turns up, with that nagging little question: what on earth is it going to find?
We’ve already covered the four classic traps in our column Your files have a social life. You’re not invited. This one is where we get the toolbox out.
The day someone asks “who can see what?”
No hoodie-wearing hacker required. A forgotten public link will do, and whoever receives it doesn’t even have to sign in to open the file. The most mundane leak imaginable, and nobody broke in.
Then one day a client, an auditor or your data protection officer asks the awkward question: who has access to what? And the only honest answer is “we don’t know”. That reassures nobody, least of all you.
Now add an AI that reads whatever is open. Gemini sees what your teams can see, and Gems themselves are stored and shared in Google Drive, so Drive’s sharing settings apply to them too. Yesterday’s over-generous share is tomorrow’s over-chatty answer (more on that in our article on AI used without ground rules).
How does it get this bad? Every share is a small individual decision, file by file, with no end date. Google Drive doesn’t show you the big picture. And once a folder is shared, everything filed in it later goes out with it, without a word.
Nothing expires by default. The people who created those shares leave, and their files stay behind (see our article on leavers). The key ring just keeps getting heavier.
Getting the spare keys back without changing every lock
1. First, decide who gets to hand out keys
Before you touch the Admin console, write down three answers:
- Who may share outside the company? Everyone, some departments, or nobody.
- With whom? Your regular partners: accountants, key clients, contractors under contract.
- Public links? Allowed or not. And if so, for whom.
A detail that isn’t one: if you turn external sharing off, external people also lose access to files already shared with them. That’s the point, but tell people first. Nobody enjoys finding the locks changed on a Monday morning.
2. Take stock (and don’t take the logs at their word)
In the Admin console: Menu > Reporting > Audit and investigation > Drive log events. Add a filter > Visibility, choose Shared externally, then Search. Export the result: that’s your starting point.
If your edition includes it, the security investigation tool digs deeper (nested queries, saved investigations, actions on results): Menu > Security > Security center > Investigation tool, data source Drive log events, condition Visibility is Shared externally.
Two words of warning:
- Logs record events, not the current state. They only keep a few months of history. That file shared years ago and never touched since? Invisible. For a complete inventory, you need a tool that reads each file’s sharing information through the Google Drive API.
- Groups tell white lies. A file shared with a group that allows external members is marked “Shared externally”, even if the group has none.
3. Pick your external sharing regime
Menu > Apps > Google Workspace > Drive and Docs > Sharing settings > Sharing options. Three settings:
- Off: nothing leaves the organisation.
- Allowlisted Domains: your partners, and only them (more on that in a moment).
- On: external sharing stays open, with guard rails.
Staying on On but done with public links? Uncheck When sharing outside of your organization is allowed, users in your organization can make files and published web content visible to anyone with the link. (Yes, that’s the whole label. Deep breath.)
Click Save, then be patient: Google warns that changes can take up to a day, with old and new settings applying intermittently in the meantime.
4. Draw up the guest list
Menu > Account > Domains > Allowlisted domains > Add domain. Add your partners’ domains, save, then go back and choose Allowlisted Domains in the sharing options.
Worth knowing before you get too excited:
- The domain must use Google Workspace (unless you’ve turned on visitor sharing).
- One list for everything: Drive, Chat, Classroom and other services share it, and you can’t pick a subset.
- Goodbye, personal accounts: nothing can be shared with a Gmail address any more.
- Groups slip through the net: the list isn’t checked when a document is shared with a Google group.
5. Make people think before they hit send
In the same Sharing options, check Warn when files owned by users or shared drives in your organization are shared outside of your organization (or its “with users in allowlisted domains” version). Users have to confirm. Reflex sharing, the Friday-afternoon kind, takes a knock.
While you’re there, make sure Highlight external files is checked: that’s the External label shown on the files concerned.
6. Open up department by department, not for everyone
Settings apply per organisational unit or configuration group. Google’s approach: turn external sharing off at the top level, select on the left the unit that genuinely needs it (sales, for instance), turn it on and click Override.
Careful: a group setting overrides the organisational unit setting. To roll back: Inherit.
The clever variation: an organisational unit with no members at all, allowed to share externally, with a shared drive assigned to it. That shared drive becomes the only way out for your files. Customs control, basically.
7. Trust rules, for the sticklers (depending on edition)
Trust rules get down to the fine print: “Marketing can share with these specific people at the partner, other teams can’t”. Each rule has a scope, a trigger (Share files or Receive files), conditions and an action.
You create them under Menu > Rules > Create rule > Trust, and turn them on from the Rules page, Collaborate securely card, Turn on for Drive. Three things to bear in mind:
- They replace the Drive settings for sharing outside the organisation. Your current settings are converted automatically: preview them with Add a filter > Rule type > Trust.
- You can go back to Drive settings at any time.
- But turning them off permanently deletes every rule you created. No bin, no undo.
8. Close things down with the people who know: the owners
The admin has no idea whether that share with a client is still needed. The file’s owner does. Send each owner the list of their files open to the outside, with a deadline.
On the user side, it all happens in the Share menu:
- General access > Restricted closes a public link;
- the arrow next to a name, then Remove access, removes a person;
- Add expiration puts an end date on access (work and school accounts; for folders, Viewer only). The accountant’s classic “view only, until 31/12”.
And hang on to the inventory export: it’s your record of what was open, and your way back if you got something wrong.
9. Keep an eye out for new spare keys
The clean-up only lasts if you can see new shares go by. Menu > Rules > Create rule > Activity, data source Drive log events, filter on Visibility for external shares. Choose an alert centre alert and an email to the relevant admins.
An alert for every share soon becomes a car alarm nobody listens to. Start with sensitive folders, or a monthly review of the export.
And the licences?
- External sharing settings, allowlist, warnings, per-unit settings: all Google Workspace editions.
- Audit and investigation tool (Drive log events): Business Starter, Business Standard, Business Plus, Enterprise Standard and Enterprise Plus.
- Security investigation tool: Frontline Standard and Plus, Enterprise Standard and Plus, Education Standard and Plus, Enterprise Essentials Plus.
- Trust rules: Frontline Plus, Enterprise Standard and Plus, Education Standard and Plus, Enterprise Essentials Plus.
- Activity rules with alerts on Drive events: Business Starter, Standard and Plus, Education Fundamentals and Standard, Enterprise Essentials, plus Frontline Plus, Enterprise Plus, Enterprise Essentials Plus and Education Plus (these last four add automatic actions and thresholds). For Enterprise Standard, Google’s help limits these rules to data sources other than Drive.
Fancy us collecting the keys for you?
We start with an audit: which files are open, to whom, and since when, including the ones the logs have long forgotten. Then comes the security work: the right settings in the console, then we close what needs closing, hand in hand with the files’ owners. And we finish with automation, so new shares are monitored and the big clean-up doesn’t become an annual fixture.
Will you cut off shares we actually need? No. We show you first, decide with you, then close. Nothing gets closed without a human signing it off.
Ten years of experience, 482,000 accounts migrated, and we’re not a Google partner: we have no licences to sell you. You get a clear quote, with the timeline written down before you sign, and we can take on managed services afterwards if you fancy it.
The first 30-minute conversation is on us. Curious how many spare keys are wandering about out there? Let’s talk.
Sources
- Google Workspace Admin Help: Manage external sharing for your organization
- Google Workspace Admin Help: Allow external sharing with only trusted domains
- Google Workspace Admin Help: Drive log events
- Google Workspace Admin Help: Create and manage trust rules for Drive sharing
- Google Workspace Admin Help: Monitor the health of your Drive settings
- Google Workspace Admin Help: Create and manage reporting rules
- Google Drive Help: Share and manage access to files and folders in Google Drive
- Google Workspace Admin Help: Compare Business editions


