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
William Roach-Barrette 5William Roach-Barrette 5 

Restricting Related Files Access through Roles

I have a group of users that we want to bring into salesforce and isolate using a role. The end goal is to give them access to records but unfortunately we DONT want them to have access to all the attached files asscoiated with that record. There will be times we want to manually share that file with this role but under normal circumstances we dont want them to have view permissions. Is there a way to do this easily? I am having trouble finding settings to limit file access based on profile 
AnudeepAnudeep (Salesforce Developers) 
You can restrict the access and then extend it only with specific groups of your choice

User-added image

https://help.salesforce.com/articleView?id=collab_files_make_private.htm&type=5

https://help.salesforce.com/articleView?id=collab_files_settings_perms.htm&type=5

Does this not solve your use case?