Share SharePoint files or folders

Applies To
SharePoint Server 2019 Office 365 Small Business Microsoft 365 admin Office 365 operated by 21Vianet - Small Business Admin

People with permissions to a SharePoint site usually can access the files on that site. To share a file or folder with someone else, add them directly or send a link, and choose what they can do.

Note

  • To share OneDrive files and folders, see Share OneDrive files and folders.
  • You can also share the entire site.
  • Your sharing experience might look slightly different than the steps and screenshots in this article, but the information still helps you share files and folders.

Sharing options

  • Use Add people to give specific people or groups access. You can choose whether to send them an email notification.
  • Use Copy link to send a link in an email or chat. Check who the link works for before you send it.

Select a file or folder to share

  1. On your SharePoint site, go to the library where you want to share files.

  2. Select the file or folder. In List view, select the circle to the left of the item. In Tiles view, select the circle in its top-right corner.

    Note

    You can't share multiple items at the same time. Instead, add the items you want to share to a folder, and then share the folder. Before sharing a folder, review what edit access allows.

  3. Select  Share at the top of the page.

    The sharing dialog shows who has access and lets you add people or copy a link.

    Screenshot of the Share dialog showing people and groups with access, File link settings, and collapsed Other sharing links.

Share with specific people

In the sharing dialog, add the people or groups who need the file or folder:

  1. In Add people, enter names, groups, or email addresses. You can also choose recipients from the suggestions. If your organization allows external sharing, you can enter an email address for someone outside your organization.
  2. Choose Can edit, Can view, Can't download, or Can review (for supported file types). See What permissions mean.
  3. Add a message if you want, and use Send email notification to choose whether to send an email. If Copilot is enabled for your account, you can select Add a file summary with Copilot to include a summary in the notification email.
  4. Select Share.

The people you added now have access, whether or not you sent an email notification.

Note

Please respect copyright and be careful what you share online. Copying or sharing unauthorized materials violates the Microsoft Services Agreement.

Every file or folder has one hero link, shown under File link settings. Copy link copies that link. Links shared by email or copied from the browser address bar work the same way, although the URLs might look different.

  1. In the sharing dialog, check File link settings. If the audience is Only people added, select Change. For an organization or anyone link, select the current audience text instead. Then choose an option:

    • Only people added lets people use the link if they already have access, such as through a direct permission, a group, or the folder or site.
    • People in <Your Organization> lets people in your organization open the item when they receive the link, including if someone forwards it.
    • Anyone lets anyone who receives the link open the item without signing in. This access includes people outside your organization and anyone they forward it to.

    Screenshot of the Share dialog with the audience picker open, showing Anyone, People in Contoso, and Only people added.

    Note

    A new hero link usually starts at Only people added to the file have access, but the default can depend on your organization and the parent folder. Your administrator might also restrict options, such as Anyone with the link.

  2. For People in <Your Organization> with the link or Anyone with the link, choose Can edit, Can view, Can't download, or Can review (for supported file types). See What permissions mean. Can view is selected by default when you first allow access through the link.

  3. Select Copy link.

  4. Paste the hero link into your email or chat.

Changing the settings doesn't create a new link. If you limit who the link works for, that change also applies to people who already have it. To remove someone's access, see Manage access.

What permissions mean

These permissions apply to people you add directly and to people who use People in <Your Organization> with the link or Anyone with the link:

Permission What it allows
Can edit View and change the file or folder. For a folder, people can copy, move, edit, rename, share, and delete items in that folder that they have access to.
Can view View and download files without changing them.
Can't download View without saving a local copy. This permission appears when edit access isn't allowed.
Can review Add comments and suggestions. Available only for supported file types, such as Word documents.

You can use Outlook to email the hero link:

  1. In the sharing dialog, check File link settings to make sure the recipients can use the hero link.
  2. Open the ... menu and select Send in Outlook to compose an email.

You can create extra links for a specific purpose, such as sharing with an expiration date or a password. These links appear under Other links, along with links inherited from a parent folder. Each extra link has its own settings, separate from the hero link.

Expiration dates and passwords apply to supported extra links, not to the hero link:

  • Set expiration date makes the extra link stop working after the date you choose.
  • Set password requires recipients to enter a password. Send the password to recipients separately from the link.

Changing the hero link doesn't change or remove extra links.

Note

Links created before the hero link sharing experience continue to work and appear under Other links.

Manage access

Select the file or folder, and then select Share to see who has access. You can review people, groups, links, and link usage, or search and filter the access list. People outside your organization have an External badge. For help reading the list, see See who a file is shared with.

Sharing a file or folder can give it unique permissions instead of relying only on permissions inherited from its site, library, or parent folder.

If you're the file or folder owner, you can change a person's permission, remove a person or an extra link, or stop the hero link from granting access.

Use Remove access to make the file or folder private to owners. This action:

  • Removes direct, group-derived, and inherited access.
  • Removes extra links.
  • Returns the hero link to Only people added to the file have access without changing its URL.

Important

A person keeps the highest permission they have through any source: direct access, a group, the folder or site, the hero link, or another link. For example, changing someone's direct permission to Can view doesn't stop them from editing if a link still gives them Can edit. To reduce their access, change each source that grants the higher permission. If the hero link still grants more access, the sharing dialog might ask you to confirm the change.

For more information, see Manage sharing and permissions in OneDrive and SharePoint.

Advanced controls for owners

The following controls let file or folder owners limit sharing, control access from folder sharing, or invalidate a hero link.

Limit what editors can share

Owners can prevent editors from sharing a file or changing its access and link settings. Editors can still work on the file, but must ask an owner to give someone else access.

Control access from folder sharing

When someone shares a folder, the permissions they grant automatically apply to all files and subfolders inside it that they have access to. Owners can turn on a control for an item to block these automatic permission updates. When this control is on, sharing a parent folder doesn't grant access to that item.

If you send the hero link to an unintended recipient, an owner can invalidate it. Invalidation creates a new hero link with a new URL and stops the old link from working. People following the old link might see Access denied or a Request access page.

Invalidation doesn't remove permissions people have through another source. If your goal is to stop someone from accessing the file, review their permissions rather than relying on a new URL.

Get more help

If you didn't find an answer in this article, post your question on Microsoft Q&A.