You are here:
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.
| Available in: Salesforce Classic and Lightning Experience |
| Available in: Essentials, Group, Enterprise, Professional, Performance, Unlimited, Contact Manager, and Developer Editions |
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 . To delete the link, click .
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 Settingsand choose Anyone with Link. Copy the link and share it with people inside or outside your company.
- On the Home page, click , click Choose File, select a file, and then select Share via link from the dropdown menu.
- On a file detail page, click
. - 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 .
- Next to the file in a feed or on a file hover, click , 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 (
). 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 (
) and anyone in your company
can find and view it.
To stop sharing a file by link, in the Sharing
Settings dialog box, click
next to the link. Anyone
with the link can no longer access the file.
- 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.


