Manage sharing and permissions in OneDrive and SharePoint

Applies To
SharePoint Server 2019

Need to lock a document or make a document read-only? If you're the file owner, you can lock the document or make it read only. You can also see who has access, change access permissions, or simply stop sharing it. 

Note

You can't change the permission of a sharing link from edit to view or from view to edit. The way around it is to delete your sharing link and create a new one with a different permission.

What you see differs depending on whether you're signed in with a personal account or a work or school account. Select a tab below to learn more.

Stop or change sharing

Files and folders can be shared by sending someone a sharing link, or by giving them direct access to the file or folder. (People may also have access to a file or folder if they've been given access to the site itself.)

If you are the file owner, you can stop sharing the file or folder.

If someone has been given direct access, or has access through a specific people link, you can also change the sharing permissions between view and edit.

Here are the steps:

  1. Select the file or folder you want to stop sharing.
  2. Select Details in the upper-right corner of the command bar to open the Details pane.

Note

The Details icon is just below your profile picture. If you don't see it, make sure you only have one file or folder selected.

  1. On the Details pane, under the Has access header, you'll see the People icon, the Links icon, and/or the Email icon. These options vary depending on how you have shared the file or folder.
  2. Select Manage access and:
  • To stop sharing the file entirely, select Stop sharing.
  • To delete a sharing link, select the Links⁠ tab, then select the Remove Link icon next to the link to remove it. (You'll get a prompt asking you if you're sure you want to delete the link - if so, select Remove.)
  • To remove a specific person’s access, remove or modify the sharing link under Links, or remove their access from the parent folder/site if the permission is inherited.
  • To change permissions or stop sharing with someone who has direct access, select the person's name, under Direct Access choose the option that you want and select Apply.

Tip

You can also manage a file or folder's sharing permissions through the OneDrive desktop app for Windows 10 or 11, and Mac. All you need to do is right-click the shared file or folder in your OneDrive folder on your computer, and select Share, then select the gear icon next to Copy link, and make your selections.

View files and folders you’ve shared in OneDrive and SharePoint

On OneDrive.com, select Shared in the left pane, and then select By me tab.

Learn more

Microsoft 365 advanced protection

Need more help?

Account support. For help with your Microsoft account and subscriptions, visit Account & Billing Help.

Technical support. For technical support, select Contact Microsoft Support below, enter your problem and select Get Help.

Mobile users can contact Support by opening the OneDrive app and gently shaking your device.

Community support. Communities help you ask questions, give feedback, and hear from experts with rich knowledge. Ask the Microsoft Community. Do not disclose personal or sensitive information in public forums.