function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
A MeA Me 

Salesforce files: Can a file linked to public record be accessible only to a few users?


We have a scenario where we would like to link files to contact records in Salesforce, but keep the visibility limited to a few users(or chatter group). The contact's account has public read/write access. Is it possible? Salesforce help says that the file's access would be determined by the record's access. But could we limit the file's access without changing the account's access?
The problem currently is that even though the file's sharing settings show that no user has access to the file, all users can see the file.
If we add the file to a private group, that would be one way to limit access but then we cant link it to the contact record.
Please suggest if there is a way to do this.