'How to restrict the File Download link from allowing any user to download the file except for the file owner
While downloading a File from SF Community from a Customer User Login, the LWC code takes the page to a URL where the file gets downloaded, now lets say that this URL gets passed to another Customer User and now he is also able to download this file. So my question here is how do I restrict the access such that even if others get the download file URL the system should not allow them to download the file.
File Download Link: https://crmitdev-aramco.cs219.force.com/aramcotrainee/sfc/servlet.shepherd/document/download/0698G000000F76yPAC
Thank you
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
