---
schema_version: "1"
id: 90f69b0a527baf194adfd86361ba78a42ceb9c6b72cd0119b8d3ad0455b9c36d
title: Make a File Private on a Record
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/experience/264-0-0/collab_files_make_private_on_record.md
canonical_url: https://help.salesforce.com/s/articleView?id=experience.collab_files_make_private_on_record.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e7d24e38538604313446ab79e8056dd77e1519fcdacd6cd92110b5b9d61dba1f
description: Use the File Privacy on Records setting to control who can see a file when it’s attached to a record. The setting is available when you edit a file’s details.
products:
  - Experiences
release: "264"
---
# Make a File Private on a Record

Use the **File Privacy on Records** setting to control who can see a file when it’s attached to a record. The setting is available when you edit a file’s details.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><colgroup><col style="width:100%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Group</strong>, <strong>Essentials</strong>, <strong>Enterprise</strong>, <strong>Professional</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, <strong>Contact Manager</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

The **File Privacy on Records** option lets you control the visibility of a file when it’s attached to a record. If you don’t see the **File Privacy on Records** option when you edit a file’s details, ask your admin to add it. Only admins and file owners can change the value of **File Privacy on Records**.

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

Important On private files, file metadata isn’t also private. A user without permission to access a private file can nonetheless access the file’s metadata. So, for example, through a private file’s metadata, an unpermitted user can see who’s following the private file.

![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 The **File Privacy on Records** option also appears in Salesforce Classic on the content detail page and content edit dialog. A file marked as private in Lightning Experience is also private in Salesforce Classic. This feature is also available in Experience Builder sites.

1. On the Files home page, open the actions menu of the file you want to change and select **Edit File Details**.
2. From the File Privacy on Records list, select an option for controlling the file’s visibility when it’s attached to a record.
    
    ![Options for File Privacy on Records](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-collaboration-264-0-0-production-enus/1aab5b5e-c990-4b8c-840a-6fb18af49709/collaboration/images/help_collab_files_priv_on_records.png)
    
    - **Visible to Anyone With Record Access** lets anyone who can see the record also see this file attachment under Files on the record’s Related tab.
    - **Private on Records** lets only the file owner see the file under Files on the record’s Related tab.
3. Click **Save**.

According to your selection, whenever people view record details, they either see or don’t see this file when it’s attached to the record. The file owner sees the attachment, no matter the privacy setting.

#### See Also

- [Make a File Private](https://help.salesforce.com/s/articleView?id=experience.collab_files_make_private.htm&release=264.0.0&type=5 "You can restrict access to shared files that you own by making them private.")