The Write permissions for WebDAV clients (which cannot be used, created/modified, edited, and deleted) are separately configured in the earlier WebDAV plugin. But in the new version of the plugin, we merge these permissions together.
The WebDAV client is now shown the Write permission by setting the regular expression to match the header of the user of your WebDAV client. By setting the regular expression, we will limit the list of restrictions to the client in WebDAV. Any user who satisfies a matching header will be restricted to write permissions.
Example: The head of a PROPFIND method, created by the Microsoft Web Folder WebDAV Client, is displayed in the fields in the user Agent header:
propfind/plugins/servlet/confluence/ default http/ 1.1 content-language:en-us accept-language:en-us content-type:text/xml translate:f depth: 1 content-length: 489 user-agent:microsoft Data Access Internet Publishing Provider DAV host: 127.0 0.1 : 8082 connection:keep-alive |
Unlike earlier versions of WebDAV plug-ins, you can only have permissions on all WebDAV clients, and the current configuration allows you to match against different clients.
Restrict write access to the confluence that the WebDAV client installs to you:
- In the upper-right corner of the screen, click the console button , and then select the general Configuration link.
- Select WebDAV configuration (WebDAV config)in the left sidebar.
- Enter a regular expression to satisfy the head of your user agent, which is sent by the WebDAV client you expect to limit.
- Click the Add Xinzheng expression (add new Regex) button.
Repeat the third and fourth steps above for other WebDAV clients that you expect to limit.
- Click Save.
In your Confluence installation instance, restore one or more of the restricted WebDAV clients:
- In the upper-right corner of the screen, click the console button , and then select the general Configuration link.
- Select WebDAV configuration (WebDAV config)in the left sidebar.
- In the list of regular expressions, select the WebDAV client that you want to restore.
- Click to delete the selected regular expression (remove selected Regexes) button.
- Click Save.
Screens: WebDAV Configuration
Https://www.cwiki.us/display/CONF6ZH/Configuring+a+WebDAV+client+for+Confluence
Restrict write access to confluence 6 WebDAV clients