---
schema_version: "1"
id: 547a77df638926f876be9527757266417612f56c88d0ef1031903aed18ceea81
title: Limit Files in Your Experience Cloud Site
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/experience/264-0-0/networks_enable_file_limits.md
canonical_url: https://help.salesforce.com/s/articleView?id=experience.networks_enable_file_limits.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 27877c1945e1a56c1e997d9555291241027082057b335a005b3b40580c9342e4
description: Restrict the size and types of files that your members can upload. This list of file types lets you control what your members upload and also prevents spammers from polluting your Experience Cloud site with inappropriate files.
products:
  - Experiences
release: "264"
---
# Limit Files in Your Experience Cloud Site

Restrict the size and types of files that your members can upload. This list of file types lets you control what your members upload and also prevents spammers from polluting your Experience Cloud site with inappropriate files.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d27975e70">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d27975e70 ">To limit files:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d27975e70 ">
              <p>Manage Experiences OR Create and Set Up Experiences</p>
              <p>AND</p>
              <p style="margin-bottom:0;">Is a member of the Experience Cloud site</p>
            </td>

          </tr>
        </tbody>
      </table>

File moderation must be enabled for your org before you can limit files in your Experience Cloud site. If you don’t see the option to limit files in Experience Workspaces, contact Salesforce.

Your file limits apply to files uploaded by members anywhere in the site—in posts and comments, directly in the Files tab, and from the Salesforce mobile app. You can also set file limits using SOAP or Metadata API.

Files uploaded before setting your file limits are unaffected. However, newer versions of those files must meet the limits you specify.

Keep the following things in mind:

- A file must meet the file limits set in the Experience Cloud site in which it’s uploaded. For example, if a customer uploads a file on a case and then an agent uploads a newer version in your Salesforce internal org, the limits from the customer site still apply.
- Files uploaded in your internal Salesforce org that are shared in a site aren’t subject to site file limits.

1. Open Experience Workspaces.
2. Select **Administration** | **Preferences**, then enter your limits in the Files section on the page.
    1. Maximum file size in MB—Enter a number between 3 MB and your org’s maximum file size. To use the default limit of 2 GB, leave this field empty or enter 0.
    2. Allow only these file types—Enter file extensions separated with a comma (for example: jpg,docx,txt). You can enter lowercase and uppercase letters. You can enter up to 1,000 characters. To allow all file types, leave this field empty.
3. Click **Save**.

After you set your file limits, members receive an error message if their file is larger than the size you set or if their file extension isn’t allowed.

When a member tries to upload multiple files at once and a file is found that doesn’t meet your limits, none of the files are uploaded.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-communities-264-0-0-production-enus/bf7df212-91a1-4fa3-a007-4d6f3e3b470b/images/icon_note.png)

Note By default, guest user files are blocked from being uploaded. After developer customizations (Lightning pages, for instance) have been created, admins can change the settings to let guest users upload files. To enable, go to Setup and in **Salesforce Files** | **General Settings** select Allow site guest users to upload files.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-communities-264-0-0-production-enus/bf7df212-91a1-4fa3-a007-4d6f3e3b470b/images/icon_note.png)

Note Files uploaded by guest users are unassigned. Unassigned files are public by default. We recommend setting up a trigger to assign an owner to files uploaded by guest users. You may also wish to restrict file upload size or type using file moderation.

#### See Also

- [Configure Settings in Your Administration Workspace](https://help.salesforce.com/s/articleView?id=experience.networks_customize_miscellaneous.htm&release=264.0.0&type=5 "Configure settings in your administration workspace, and enable other optional features in your Experience Cloud site such as user nicknames, guest access, private messages, direct messages, content flagging, and reputation levels.")