You need to send a budget sheet to a colleague, so you click Share in OneDrive, copy the link, and paste it into a chat. Done. But who else can open that file now?

The setting behind the link

If the link type is "Anyone with the link", then anyone who has the link can open the file. No sign-in, no name, no check of who they are.

Links travel

Links do not stay where you put them. They get forwarded by email, pasted into another chat, saved in a notes app, synced to a personal phone. An "Anyone" link keeps working wherever it lands.

Nobody proves who they are

With an "Anyone" link, OneDrive cannot tell you who opened the file, because nobody signed in. For anything with names, numbers or customer data, that is a real problem.

Fix 1: share with specific people

When you share, change the link setting to Specific people and enter the names. Only those people can open it, and they sign in with their own account.

Fix 2: clean up old links

Open the file or folder, choose Manage access, and remove the "Anyone" links you do not need any more. Old links are the ones nobody remembers.

Fix 3: if you must use Anyone, set an expiry

Sometimes you really do need a link for people outside the company. Then set an expiration date, and a password if your organization allows it, so the link stops working on its own.

For admins

Admins can limit or turn off "Anyone" links for the whole tenant, or set a default expiry, in the SharePoint admin center sharing settings.

Sources

Made by CD with love from VietNam. One short Microsoft security video a day at 20:00 (Vietnam time) on YouTube: CD Security Lab.

Thanks for reading! I'm Cuong, and on CD Security Lab I rebuild real Microsoft security cases in a safe lab and explain them simply. Follow along:

Got a question about your own tenant? Drop it in the comments.