---
schema_version: "1"
id: 352a090797bbf093689aaadf9ed196a3e58a920f6a45966d8b0e9d881ad0a1b4
title: Share Files Via Link
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/experience/264-0-0/collab_files_sharing_via_link.md
canonical_url: https://help.salesforce.com/s/articleView?id=experience.collab_files_sharing_via_link.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1b6b08977ed1943bd4e164510faa7f3ef6de33934c603dc24cbd3d3c982de0dd
description: Creating a public link generates a URL that you can copy and share with anyone inside or outside your company. Control access to the file with a password, or set the link to expire.
products:
  - Experiences
release: "264"
---
# Share Files Via Link

Creating a public link generates a URL that you can copy and share with anyone inside or outside your company. Control access to the file with a password, or set the link to expire.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><colgroup><col style="width:100%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Essentials</strong>, <strong>Group</strong>, <strong>Enterprise</strong>, <strong>Professional</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, <strong>Contact Manager</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

When you create a public link to a file, anyone who has the link can view and download the file. File link recipients can only view and download file—they can't be collaborators. When you share single files, you have the option to set a password and an expiration date. After you delete a link, it no longer provides access to the file. If you create another link, it creates a new URL.

## Create a File Link in Lightning Experience

To share a link to a single file

- From Files home or a files related list on a record, right-click a file and choose **Public Link**.
- From Chatter, right-click the file thumbnail in the feed and choose **Public Link**.
- From the file, right-click and click **Share**. From the Sharing dialog, create a link in the **Who Can Access** section under **Public Link Sharing**.

Use the toggles to set an expiration date or password. Expiration dates are on by default and set 90 days in the future You can adjust the date or disable the toggle. Turn on the password toggle to generate a password, which displays on your screen.

Click **Create link**, and then copy the link.

## Create and Share a Public Link for a Folder in Lightning Experience

You can create public links to share folders to give people inside or outside your company access to a set of files. The public link is an encrypted URL. From the Library folder’s row-level actions click **Public Link** | **Copy Link**. To delete the link, click **Public Link** | **trash can**.

## Create and Share a File Link in Salesforce Classic

- Start by sharing the file from one of these locations:
    - On Files home, click **Upload files**, select a file, then click **Sharing Settings**and choose **Anyone with Link**. Copy the link and share it with people inside or outside your company.
    - On the Home page, click **Create New** | **File**, click **Choose File**, select a file, and then select **Share via link** from the dropdown menu.
    - On a file detail page, click ![Share File](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-collaboration-264-0-0-production-enus/1aab5b5e-c990-4b8c-840a-6fb18af49709/collaboration/images/file_share.png) **File Sharing Settings** | **Via link**.
    - In the Sharing Settings dialog box, click **Anyone with link** from the Share with list.
    - Next to the file on the Files page, the Files Owned by list, or the Group Files list, click **![FileActionsArrow](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-collaboration-264-0-0-production-enus/1aab5b5e-c990-4b8c-840a-6fb18af49709/collaboration/images/file_actions_arrow.png)** | **Share via link**.
    - Next to the file in a feed or on a file hover, click **More Actions** | **File Sharing Settings**, then click **Anyone with link** from the Share with list.
- Click **Copy** if available (or copy the link manually), and paste the link into an email or IM. File link recipients can only view and download files. They can't be collaborators.

Unless the file’s already shared with your company, it's privately shared and displays the privately shared icon (![Privately Shared](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-collaboration-264-0-0-production-enus/1aab5b5e-c990-4b8c-840a-6fb18af49709/collaboration/images/file_privately_shared.png)). It's not posted anywhere, and only the people who you specifically shared it with can find and view it. If it’s already shared with your company, it retains the “your company” icon (![Company-wide](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-collaboration-264-0-0-production-enus/1aab5b5e-c990-4b8c-840a-6fb18af49709/collaboration/images/file_company_wide.png)) and anyone in your company can find and view it.

To stop sharing a file by link, in the Sharing Settings dialog box, click ![blue X button](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-collaboration-264-0-0-production-enus/1aab5b5e-c990-4b8c-840a-6fb18af49709/collaboration/images/eop_following_on.png) next to the link. Anyone with the link can no longer access the file.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-collaboration-264-0-0-production-enus/1aab5b5e-c990-4b8c-840a-6fb18af49709/images/icon_note.png)

Note

- Documents from the Documents tab and attachments from the Notes and Attachments related list can't be shared as Salesforce Files.
- A file can be shared a maximum of 2000 times. This count includes shares with records, people, and groups. If a file is approaching the maximum number of shares, consider creating a public link or making the file public by posting it to your feed.

#### See Also

- [Create Content Deliveries](https://help.salesforce.com/s/articleView?id=experience.content_delivery_create.htm&release=264.0.0&type=5 "A content delivery lets you convert documents such as Microsoft® PowerPoint and Word files into an optimized web-based version for easy online viewing. After you create your delivery, you can send its encrypted URL to any recipient, such as leads, customers, partners, and colleagues, and then track how often people view or download the content. Content deliveries are available in Salesforce Classic only. However, Lightning Email generates delivery-based links as email attachments for Lightning Experience users who have access to the Content Deliveries feature.")
- [Share Files with People in Lightning Experience](https://help.salesforce.com/s/articleView?id=experience.collab_files_sharing_people_lex.htm&release=264.0.0&type=5 "Share files with people privately and set Viewer or Collaborator access for each person who you share the file with.")