How to Stop Unauthorized Access to Shared OneDrive Files
Question details
An uninvited user has gained access to a OneDrive file, and the owner needs to understand how this happened and how to revoke the permissions.
- Product
- OneDrive
- Device & OS
- not provided
- Scenario
- A file owner notices that someone not directly invited can view or edit their shared OneDrive files, and wants to restrict access strictly to intended collaborators.
- Observed behavior
- An unknown or uninvited user accesses a OneDrive file through inherited parent folder permissions, a forwarded link, or compromised credentials.
Before modifying permissions, log into your OneDrive account on a web browser (OneDrive.com) to ensure you have full administrative rights over the shared files and folders.
Revoke Unwanted Permissions via Manage Access
Use the Manage Access panel in OneDrive to identify and remove anyone who shouldn't have access to your file.
Often, unauthorized access happens because a file is set to 'Anyone with the link' or because explicit permissions were left active for too long. The Manage Access panel lets you precisely control who has access to individual files.
Go to OneDrive.com, right-click the specific file or folder, and select 'Manage access' from the context menu.
Look through the list of people, groups, and links that currently have access to the file.
Click the dropdown next to the uninvited user's name or the active sharing link, and select 'Stop sharing' or 'Remove' to immediately revoke their access.

Reorganize Folders to Prevent Inherited Permissions
Instead of sharing a broad parent folder, create dedicated folders containing only the specific files each collaborator needs.
Secure Your Microsoft Account Credentials
Protect against unauthorized access caused by compromised credentials or shared logins among collaborators.
Secure and Edit Your Documents Locally with WPS Office
If managing complex cloud storage permissions in Microsoft OneDrive feels risky or overwhelming, consider switching to WPS Office. It provides a lightweight, highly compatible alternative to Microsoft Office, allowing you to edit Word, Excel, and PowerPoint files securely on your local device before deciding exactly how and where to share them.

Frequently Asked Questions
Can inherited permissions give someone access to all subfolders?
Yes. If you share a parent folder in OneDrive, all files and subfolders contained within it automatically inherit those sharing permissions, granting the recipient access to everything inside.
How do forwarded links work in OneDrive?
If you create a sharing link set to 'Anyone with the link can view/edit', the original recipient can forward that link to others. This allows uninvited individuals to access your file without needing a direct invitation from you.
What is the best way to share a single file without exposing the whole folder?
Right-click the specific file, select 'Share', click the gear icon for settings, and choose 'Specific people'. Enter their exact email address so only they can access that single file, leaving the rest of your folder secure.
Can I see who has viewed my shared OneDrive files?
If you have a premium Microsoft 365 subscription, you can hover over a file in OneDrive to see file activity and viewer statistics. Otherwise, you can check the 'Manage Access' panel to see active sharing links and direct permissions.




