What is WebDAV, what is it for and how to configure it in Windows 10

What is WebDAV and what is it for?

WebDAV is a protocol that enables us save recordsdata, edit, transfer and share them on an internet server, we won’t want to use different file alternate protocols on the native community or the Internet, resembling Samba, FTP or NFS. The aim of WebDAV is that you could work immediately on the internet server, with out the necessity to use further protocols for distant (or native) dealing with of recordsdata. This protocol permits net servers to seem as community drives on our PC.

Currently the WebDAV protocol is a regular, and we’ve got it obtainable by default in all desktop working techniques resembling Windows, Linux and additionally macOS. There are totally different WebDAV shoppers for totally different working techniques, they’re roughly options. It is additionally essential that WebDAV is supported by net servers, if an internet server like Apache, Lighttpd or Nginx doesn’t assist or doesn’t have WebDAV configured, we will be unable to use it to handle the recordsdata. Depending on the internet server we’ve got, the syntax of the WebDAV configuration is totally different, however as it is a regular protocol, the operation in all of them is the identical.

Other options of WebDAV are that it helps 256-bit AES SSL encryption, so long as we use the HTTPS protocol for the connection. It is ready to move by firewalls, NAT and proxies with out issues, lastly, it is quicker than the favored SMB / CIFS protocol if we use it over VPN, so in case you are going to join remotely, you could have an interest in utilizing it in Samba place.

WebDAV configuration on a QNAP NAS server

Setting up a WebDAV server on a QNAP NAS server is actually easy, we simply have to go to «Control Panel / Application Servers / Web Server / WebDAV«, Once we’re right here, we should activate the WebDAV server, since by default it is deactivated. Next, we could have a number of choices:

  • Permissions: if we would like to inherit the permissions of shared folders, or if we would like to present particular permissions for WebDAV entry.
  • Ports: WebDAV is suitable with the HTTP and HTTPS protocol, relying on the protocol, we will outline the default port (80 and 443) or select particular ones for WebDAV.

In the occasion that you simply select to configure particular permissions for WebDAV, you should have to configure it in the “Shared Folders” of QNAP.

We go to the part «Control Panel / Privilege / Shared Folders«, And click on on« Edit shared folder permissions », to later show the choice of« Select the kind of permission »and select«Access to WebDAV«. This choice is solely obtainable to select from, so long as we’ve got chosen “WebDAV Permissions” on the WebDAV server, in any other case it won’t seem.

We edit the permissions of the folders as we want, and click on on apply.

At this level, we could have appropriately configured the WebDAV server on our QNAP NAS, now we’re going to configure the WebDAV consumer that comes by default in Windows to join to the server.

WebDAV consumer configuration in Windows 10

The very first thing we’ve got to do is go to the Windows registry, to the trail: «EquipoHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWebClientParameters and choose« BasicAuthLevel »to set it to the worth 2, click on on settle for and restart. The parameters that we will put in this registry key are the next:

  • 0: Basic authentication disabled.
  • 1. Basic authentication enabled solely for SSL connections.
  • 2. Basic authentication permits for SSL and Non-SSL connections.

Once we’ve got restarted, we proceed to go to «Team» and proper click on on «Add community location«.

We comply with the wizard, deciding on «Choose a customized community location«.

Now we’ve got to put the IP handle of our WebDAV server, both with HTTP or HTTPS. We have had issues when utilizing HTTPS with Windows 10, since it appears that the consumer itself is not suitable, subsequently, we should use HTTP (with out encryption), and if we would like to present safety communication, we should use a VPN.

As quickly as we click on on «Next», a display will seem to enter the consumer credentials, after getting into the username and password, it will point out that the connection is right and we can be ready to give this community location a reputation.

When we’ve got given it a reputation, we are going to click on on «Finish» to end the wizard of including community areas.

At this time, we can be ready to entry our server through the WebDAV protocol, as you’ll be able to see under:

As you’ve got seen, the WebDAV protocol is very simple to configure and additionally to use in Windows working techniques, though we should do not forget that it is suitable with Linux and macOS with none drawback.