---
schema_version: "1"
id: d8bd882284b8faffbd743ca6c982124d9f65df7de134c201f9381c6f56af993b
title: Add IP Restrictions in Site.com
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/siteforce_ip_set.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.siteforce_ip_set.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 69404df1307a0fe05461430d6278852972b3d0f846d4fc8ee930dffa81541d1b
description: Control site visitors' access to the pages, page templates, folders, and assets in your site by setting the range of permitted IP addresses.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Add IP Restrictions in Site.com

Control site visitors' access to the pages, page templates, folders, and assets in your site by setting the range of permitted IP addresses.

### 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: Salesforce Classic</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Available for purchase in: <strong>Enterprise</strong>, <strong>Performance</strong>, and
                <strong>Unlimited</strong> Editions
              </p>
              <p style="margin-bottom:0;">Available (with limitations) in: <strong>Developer</strong>
                Edition</p>
            </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="d219232e74">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d219232e74 ">To add and edit IP restrictions in Site.com:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d219232e74 ">
              <p><samp class="parmname">Site.com Publisher User</samp> field enabled on the user detail
                page</p>
              <p>AND</p>
              <p style="margin-bottom:0;">Site administrator role assigned at the site level</p>
            </td>

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

Set IP restrictions to manage access your Site.com content.

1. On the Overview tab, either:
    - Hover over the page, page template, folder, or asset in the All Site Content view and select **![Actions](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/extend_click/images/siteforce_icon_actions.png)** | **Add IP Restrictions**.
    - Select **Site Configuration** | **IP Restrictions** and select **Add IP Restrictions**.
2. If not already selected, choose the item you want to restrict access to.
3. Enter the first and last IP addresses of the permitted IP range—for example, 112.122.0.1 to 112.122.0.123. To enter a single IP address, complete the Start Address field.
    
    Both IP addresses in a range must be either IPv4 or IPv6. In ranges, IPv4 addresses exist in the IPv4-mapped IPv6 address space ::ffff:0:0 to ::ffff:ffff:ffff, where ::ffff:0:0 is 0.0.0.0 and ::ffff:ffff:ffff is 255.255.255.255. A range can't include IP addresses inside of the IPv4-mapped IPv6 address space if it also includes IP addresses outside of the IPv4-mapped IPv6 address space. Ranges such as 255.255.255.255 to ::1:0:0:0 or :: to ::1:0:0:0 aren't allowed.
4. Select **Add IP Range** to add additional ranges.
5. To redirect users with an invalid IP address to an alternative page, such as a user-friendly error page, specify the page in Access Denied Page. If you set this in the IP Restrictions view, the page is the default for all IP restrictions unless you override it at the item level.
    
    You can redirect users to a page in your site or to an external site. Always use a prefix such as http:// when entering an external URL. If you don't set an access denied page, users see a blank page that displays a default “Access to this resource is denied” message.
6. Select **Save**.

To test the IP restrictions of a page template or site page, select **Preview** when the page is open. When you're happy with your updates, [publish the site](https://help.salesforce.com/s/articleView?id=platform.siteforce_publish.htm&release=264.0.0&type=5 "When you publish a site in Site.com, you make its pages and assets live on the Internet so site visitors can access them.") to enable the restrictions.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_note.png)

Note

- If an item inherits IP restrictions—for example, an asset in an IP-restricted folder—you can add additional restrictions to further narrow the range. Although the item doesn't display the inherited values anywhere, the inherited IP range values do apply to the child item and only site visitors with valid IP addresses can access it.
- If you select a site page in the Access Denied Page dropdown list, users with an invalid IP address can view that page even if the entire site is restricted.
- Caching is disabled for any item that has IP restrictions. Additionally, if you update the IP restrictions of an asset, folder, or page, the system updates its URL in case proxy servers already cached the item.

#### See Also

- [Site.comIP Restrictions Overview](https://help.salesforce.com/s/articleView?id=platform.siteforce_ip_overview.htm&release=264.0.0&type=5 "Every computer has a unique IP address that it uses to identify itself. Using IP restrictions, you can define a range of permitted IP addresses for the pages, folders, and assets in your site to control visitors' access.")
- [Editing, Disabling, and Deleting IP Restrictions in Site.com](https://help.salesforce.com/s/articleView?id=platform.siteforce_ip_manage.htm&release=264.0.0&type=5 "After you create an IP restriction for a Site.com site, you can edit the address range, briefly disable the IP restriction (say, to allow temporary access to a page), or delete the restriction entirely.")