Introduction
Disable links using CloudFiles to restrict access on your docs uploaded in the CloudFiles content library
Documents uploaded in CloudFiles content library can be set to offline status by deactivating link when required to disable access to users who have your document's secured URL links. However, it becomes cumbersome to track each URL and change its status to remove access later.
CloudFiles allows you to set an expiry setting on the files you upload into your CloudFiles content library. Even your files uploaded from dropbox/box/google drive/one drive can have link expiry settings.
Date & Time based expiry limits
Pre-set your expiry settings based on a specific date and time
Navigate to the CloudFiles content library.
Click on the file you wish to restrict file access by deactivating link.
Click on the URL you wish set an expiry limit. In the link settings page, you will find the expire link generator in the Expiry option.
In the Expiry option you can set the expiry based on date and time.
Access the CloudFiles content library in the HubSpot's CloudFiles integration from any of the records contacts/ company/ deals/ tickets.
Click on the actions button of the file you want to set the expiry status and choose get link.
Click on the URL you wish set an expiry limit. In the link settings page, you will find the expire link generator in the Expiry option.
In the Expiry option you can set the expiry based on date or number of views. Set the expiry parameters as per your requirement.
Access the CloudFiles Attachments library from the CloudFiles LWC component. Click on the downward arrow button of the link whose expiry settings is to be preset. Then choose edit link settings.
Click on the URL you wish set an expiry limit. In the link settings page, you will find the expire link generator in the Expiry option.
In the Expiry option you can set the expiry based on date or number of views. Set the expiry parameters as per your requirement.
Views based expiry Limits
Pre-set your expiry settings based on number of views
In the security settings pop up, next to the date and time option, there is the expire by number of views option.
Based on your expected number of views, you can enter a number to limit the number of views.
The views will be uniquely counted for a viewer, which means that a person viewing the file twice will still be counted as one.
In the security settings pop up inside HubSpot, next to the date and time option, there is the expire by number of views option.
Based on your expected number of views, you can enter a number to limit the number of views.
The views will be uniquely counted for a viewer, which means that a person viewing the file twice will still be counted as one.
In the security settings pop up inside Salesforce, below the date and time option, there is the expire by number of views option.
Based on your expected number of views, you can enter a number to limit the number of views.
The views will be uniquely counted for a viewer, which means that a person viewing the file twice will still be counted as one.
Note
When lower of the two limits is reached, it will disable your URL and your URL recipients will see an error page when they try to access your URL.