Get a Quote   (408) 943-4100               TrueNAS Discord      VendOp_Icon_15x15px   Commercial Support Toggle between Light and Dark mode

WebDav Share Creation

  3 minute read.

Last Modified 2022-05-09 15:56 EDT

A Web-based Distributed Authoring and Versioning (WebDAV) share makes it easy to share a TrueNAS dataset and its contents over the web.

To create a new share, make sure a dataset is available with all the data for sharing.

Share Configuration

Go to Sharing > WebDAV Shares and click ADD.


Enter a name for the share in Name and use the file browser to select the dataset to share. Enter an optional descritpion for the share in Description helps to identify it. To prevent user accounts from modifying the shared data, select Read Only.

By default, Change User & Group Ownership is selected. This changes existing ownership of all files in the share to the webdav user and group accounts. The default simplifies WebDAV share permission, but is unexpected, so the web interface displays a warning:

Webdav Add Warning

This warning does not display when the check mark in Change User & Group Ownsership is cleared. In that situation, you must manually set shared file ownership to the webdav or www user and group accounts.

By default, the new WebDAV share is immediately active. To create the share but not immediately activate it, clear the checkmark in Enable. Click SUBMIT to create the share.

Service Activation

Creating a share immediately opens a dialog to activate the WebDAV service:


To later enable or disable the WebDAV system service, go to Services and click the WebDAV toggle to stop the service. To automatically start the service when TrueNAS boots, set Start Automatically. Click the to change the service settings.


For better data security, set the Protocol to HTTPS. This requires choosing an SSL certificate, but the freenas_default certificate is always available. All of the Protocol options require defining a Port number. Make sure the WebDAV service port is not already used on the network.

To prevent unauthorized access to the shared data, set the HTTP Authentication to either Basic or Digest and create a new Webdav Password.

Be sure to click SAVE after making any changes.

Connecting to the WebDAV Share

WebDAV shared data is accessible from a web browser. To see the shared data, open a new browser tab and enter the following in the URL field {PROTOCOL}://{TRUENASIP}:{PORT}/{SHAREPATH} where the elements in curly brackets {} are your chosen settings from the WebDAV share and service. Example:

When the Authentication WebDAV service option is set to either Basic or Digest, a user name and password is required. Enter the user name webdav and the password defined in the WebDAV service.

Additional Information

For more information see:

WebDAV Service Screen

WebDAV Share Screen