---
schema_version: "1"
id: b2680eb0a6b895d3b1a68db16b42de80bade637b73c7278c9ec27302bcfac420
title: WebDAV Client Permissions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_web_dav_client_permissions.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_web_dav_client_permissions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e39708aa5a05ab0269a9911d97e8af2df9851dc887bc3427b64f3cf4158cd3c7
description: WebDav client permissions let you configure which API clients can access your B2C Commerce WebDAV files. These permissions also give you fine-grained control over which directories each client can access.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# WebDAV Client Permissions

WebDav client permissions let you configure which API clients can access your B2C Commerce WebDAV files. These permissions also give you fine-grained control over which directories each client can access.

To configure these permissions in Business Manager, create a JSON configuration document that conforms to the format described in the following example.

## Configuring WebDAV Client Permissions in Business Manager

To configure WebDAV client permissions:

1. Click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Administration** | **Organization** | **WebDAV Client Permissions**.
2. In the large text field, edit the JSON document configuration as described in the following example.
3. Click **Save**.

## JSON Document Format

The following example shows the format of the JSON configuration document:

```
{  
   "clients":[  
      {  
         "client_id":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
         "permissions":[  
            {  
               "path":"/impex/src/foo",
               "operations":[  
                  "read_write"
               ]
            },
            {  
               "path":"/impex/src/logs",
               "operations":[  
                  "read"
               ]
            },
            {  
               "path":"/catalogs",
               "operations":[  
                  "read"
               ]
            }
         ]
      },
      {  
         "client_id":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
         "permissions":[  
            {  
               "path":"/impex/",
               "operations":[  
                  "read_write"
               ]
            }
         ]
      }
   ]
}
```

## Configuration Document

Use this document to configure WebDAV client permissions for multiple client applications in the context of your organization.

   
| Property | Type | Constraints | Description |
| --- | --- | --- | --- |
| `clients` | \[ [\-->Client](https://help.salesforce.com/s/articleView?id=cc.b2c_web_dav_client_permissions.htm&release=264.0.0&type=5)\] | N/A | Array of client-specific permission documents |

## Client Document

Use this document to define WebDAV permissions for a client application.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
          <col>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d243179e163">Property</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d243179e166">Type</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d243179e169">Constraints</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d243179e172">Description</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d243179e163 ">
              <code>client_id</code>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d243179e166 ">String</td>

            <td data-label="Constraints" class="slds-cell-wrap" style="vertical-align:top;" headers="d243179e169 ">mandatory=true, nullable=false</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d243179e172 ">The client ID indicating the API client for which the permissions are
              configured</td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d243179e163 ">
              <code>permissions</code>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d243179e166 ">[ <a href="https://help.salesforce.com/s/articleView?id=cc.b2c_web_dav_client_permissions.htm&amp;release=264.0.0&amp;type=5">Permissions</a>]</td>

            <td data-label="Constraints" class="slds-cell-wrap" style="vertical-align:top;" headers="d243179e169 ">mandatory=true, nullable=false</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d243179e172 ">
              <p>Array of directory-based permissions documents</p>
              <p style="margin-bottom:0;"> Multiple permissions paths can't intersect each other; for example, the
                following two paths intersect and are therefore invalid:
                <code>/impex/src</code> and <code>/impex/src/foo</code>
              </p>
            </td>

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

## Permissions Document

Use this document to configure WebDAV permissions.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
          <col>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d243179e256">Property</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d243179e259">Type</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d243179e262">Constraints</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d243179e265">Description</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d243179e256 ">
              <code>path</code>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d243179e259 ">String</td>

            <td data-label="Constraints" class="slds-cell-wrap" style="vertical-align:top;" headers="d243179e262 ">mandatory=true, nullable=false. The <code>path</code> must begin
              with <code>/impex</code>, <code>/catalogs</code>,
              <code>/dynamic</code>, <code>/libraries</code>,
              <code>/logs</code>, <code>/static</code>, or
              <code>/securitylogs</code>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d243179e265 ">
              <p>Directory for which the WebDav permission is granted, including all
                subdirectories File-specific permissions aren't permitted</p>
              <div class="slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium">
                <div class="slds-media slds-media_responsive">
                  <div class="slds-media__figure"><span class="slds-icon_container slds-icon_container_circle slds-icon-note-note"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png" alt="Note"></span></div>
                  <div class="slds-media__body" style="padding-top:.5rem;padding-bottom:.5rem;"><span class="slds-text-title_caps">Note</span> Files in the
                    <code>/securitylogs</code> path can be granted only read
                    permissions, not read_write permissions.
                  </div>
                </div>
              </div>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d243179e256 ">
              <code>operation</code>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d243179e259 ">[String]</td>

            <td data-label="Constraints" class="slds-cell-wrap" style="vertical-align:top;" headers="d243179e262 ">mandatory=true, nullable=false, minItems=1</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d243179e265 ">
              <p>Array of operations granted on this directory (Possible values are
                <code>read</code> and <code>read_write</code>)
              </p>
              <p>Read-only WebDAV commands are <code>GET</code>,
                <code>OPTIONS</code>, <code>PROPFIND</code>
              </p>
              <p>Read-write WebDAV commands are COPY, <code>MOVE</code>,
                <code>DELETE</code>, <code>MKCOL</code>, <code>PUT</code>,
                <code>POST</code>, <code>PROPPATCH</code>,
                <code>ZIP</code>, and <code>UNZIP</code>
              </p>
              <p>To use the <code>COPY</code> command, the client needs
                <code>read</code> permissions for the source directory and
                <code>read_write</code> permissions for the target directory
              </p>
              <p style="margin-bottom:0;">To use the <code>MOVE</code> command, the client needs
                <code>read_write</code> permissions for both the source and target
                directories
              </p>
            </td>

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

## Staging

Replicate WebDAV client permissions to Production instances using the Global > WebDAV Client Permission option within the replication tasks (click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Administration** | **Replication** | **Data Replication**).

## Import/Export

To export WebDAV client permissions, select Global Data > WebDAV Client Permissions in the import/export tree (click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Administration** | **Site Development** | **Site Import & Export**). The configuration file location within the generated .zip file is `webdav/client_permissions.json`.

## Change History

Auditing turns on if Change History is enabled and Sites & Preferences is being audited. Change entries are tracked as organization type within the sites scope.