Enhancements: S-URL (short URL) and Public Share

Reminder: What are S-URL and Public Share?

S-URL: File URLs generated by Amazon S3 services are too long. It causes problems in some mail programs such as MS Outlook, and are not easy to share. In order to use a shortened URL, you can use the S-URL feature of S-Drive.
Public Share: You can share your files & folders with public users. You can set passwords, IP Range, Expire dates, and so on. This feature is available in Lightning only. S-URL must be configured in order for Public Share to be enabled.

1. A new setup for S-URL

Our Public Share and S-URL features have been significantly changed due to new Salesforce restrictions on Guest User permissions

  • Our Legacy S-URL will still work for sharing files that can only be opened or downloaded, but will not work for uploading, editing, or deleting files. However, we recommend switching to the new S-URL setup and expect we will deprecate the Legacy S-URL in the future.

  • Legacy S-URL uses a force.com site to create short URLs.

  • S-URL with the new setup uses a Community (Digital Experience Site) to create S-URLs.

    • Setup requires a dedicated Community and Community User with a Community Plus license. An internal user with a Salesforce license can be used instead if desired.

Which S-URL should I use? We encourage customers to switch to the updated setup for S-URL, but continue to support the Legacy S-URL for open and download only.

S-URL

Legacy S-URL

Share links to open and download files

Share links to open, download, edit, delete, or upload files

Legacy S-URL links will still work

Setting up S-URL/Public Share for the first time

Recommended

Allowed, but not

recommended

Requirements

Requires a Community with a dedicated user with Community Plus or internal license

Requires a force.com site with a Guest User license

2. Choose whether to use S-URL when opening and downloading files internally

Sometimes, something goes wrong with your S-URL setup. Maybe a Salesforce rollover to a new version caused some issues with profile permissions. If S-URL is used to open and download files internally, this prevents users from accessing files. Now you can choose whether to use S-URL to open and download files or whether to use Amazon’s long URLs.

You can now make Password and Expiration Date required fields when creating a public share link.


Whenever you open a file, download it, or copy its URL, a link to the file is generated. This link can be shared with others, even if it’s not meant to be, which can cause security concerns.

With the new Open/Download URL expiration time setting, you can control how long these links last. (Expiration date/time for Public Share links is still set when creating the link.)


Deprecated: Generate File Object

S-Drive managed package comes with Account File, Contact File, Opportunity File, Case File, and Lead File. You can also create whatever custom file objects you want. In S-Drive version 2.7.6 and earlier, this could be done on the S-Drive Configuration Customization Settings page.

In version 2.7.13, we removed that feature to enhance security.

Custom file objects are still supported! However, they now must be created manually. You can create an S-Drive custom file object in Salesforce using a spreadsheet. See How to Create an S-Drive Custom File Object using Salesforce Object Manager (using Spreadsheet) .