How to Prevent External Users from Uploading Files to OneDrive Shared Folders
Question details
Administrators need to restrict external users from uploading or adding new content to shared OneDrive folders.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Configuring external sharing permissions for folders using direct access or links without relying on end users to manually set upload restrictions.
- Observed behavior
- External users currently have the ability to upload or add content when folders are shared via the Anyone option, bypassing the desired read-only access.
Ensure you have Site Collection Administrator rights or full control permissions for the OneDrive account or SharePoint environment before attempting to create custom permission levels.
Create and Assign a Custom 'View Only' Permission Level
Use this solution to strictly enforce read-only access without relying on link settings, preventing external users from adding content.
By default, standard permission levels might allow external users to add or edit items. Creating a custom permission level that strictly includes only 'View Items' ensures that users assigned this permission cannot upload files under any circumstances.
Log in to Microsoft 365, open the respective OneDrive or SharePoint site, click the Gear icon (Settings), and select 'Site permissions' followed by 'Advanced permissions settings'.
Click on 'Permission Levels' in the ribbon. Click 'Add a Permission Level', name it 'View Items Only', and check only the 'View Items' and 'View Pages' boxes.
Navigate back to your shared folder, click 'Manage Access', remove existing editing permissions for external users, and re-assign them using the new 'View Items Only' permission level.

Migrate to a SharePoint Document Library
Use this solution for organization-wide external sharing where centralized control is required over personal OneDrive storage.
Simplify Document Sharing and Collaboration with WPS Office
If managing complex Microsoft 365 permission levels becomes overwhelming, WPS Office provides a free, lightweight, and incredibly intuitive alternative. With highly compatible document formats and straightforward cloud sharing, you can easily control who views or edits your files without complex admin centers.
- 1. Install WPS Office: Download and install WPS Office for free from the official website.
- 2. Save to WPS Cloud: Create or open your document and save it securely to the built-in WPS Cloud.
- 3. Share with Restrictions: Click the 'Share' button and easily generate a 'View Only' link to prevent unwanted edits or uploads by external collaborators.

Frequently Asked Questions
Can I prevent uploads when sharing a OneDrive folder using an 'Anyone with the link' option?
Yes. When you generate an 'Anyone' sharing link in OneDrive, ensure that you uncheck the 'Allow editing' box before copying the link. This restricts the recipient to view and download only, preventing them from uploading files.
Why can external users still upload files even after I set the folder to read-only?
This usually happens if the user was previously granted 'Edit' or 'Full Control' access through a different sharing link or direct permission. You must go into 'Manage Access' > 'Advanced' to revoke any existing edit permissions for that specific user.
Is it better to use OneDrive or SharePoint for external sharing?
For personal or small-scale ad-hoc sharing, OneDrive is sufficient. However, for organization-wide sharing that requires strict compliance, custom permission levels, and centralized IT management, a SharePoint document library is the recommended platform.




