---
schema_version: "1"
id: 8a44853cfdd9cf5a7f7fe9ded8da80d64f40a695894aa0251af66e17aeb39fc2
title: Set File Sharing to Inherit Record Permissions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/experience/264-0-0/admin_files_on_record_sharing_setting.md
canonical_url: https://help.salesforce.com/s/articleView?id=experience.admin_files_on_record_sharing_setting.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5ccfff46f588f557f5a01be330c09920947d1bf9a2c27527feda58bf9e61ba25
description: Set the default sharing permissions on files that are attached to records so that they inherit the sharing settings of the record. When enabled, a user who can edit a record can also edit the files on that record. This setting applies to files attached to records created manually from the Files related list and files attached in the record’s Chatter feed.
products:
  - Experiences
release: "264"
---
# Set File Sharing to Inherit Record Permissions

Set the default sharing permissions on files that are attached to records so that they inherit the sharing settings of the record. When enabled, a user who can edit a record can also edit the files on that record. This setting applies to files attached to records created manually from the Files related list and files attached in the record’s Chatter feed.

1. From Setup, enter Files in the QuickFind box.
2. Under Salesforce Files, choose **General Settings**.
3. Enable the preference **Set file access to Set by Record for files attached to records**.

With this preference enabled:

- Users with read/write access to a record or the Modify All Data permission on a record get Collaborator access to attached files.
- Users with read-only record access get Viewer access to attached files.

When the preference is disabled, all files attached to records default to viewer access.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-collaboration-264-0-0-production-enus/1aab5b5e-c990-4b8c-840a-6fb18af49709/images/icon_note.png)

Note Files uploaded by guest users can only be set to Viewer access.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-collaboration-264-0-0-production-enus/1aab5b5e-c990-4b8c-840a-6fb18af49709/images/icon_note.png)

Note

- Viewers can view, download, and share files.
- Collaborators can view, download, share, edit the file, and upload new versions.
- File owners and collaborators can change file permissions for people and groups.