WebDAV is a trans­mis­sion protocol which makes it possible to make files or complete dir­ect­or­ies available through the Internet and transmit them to various devices. In this article, we explain what this protocol is all about exactly, what its benefits are and which WebDAV al­tern­at­ives are available.

Free Cloud Server Trial
En­ter­prise-grade virtual private servers
  • KVM based dev servers for de­velopers
  • Scalable to en­ter­prise cloud level
  • Pay-as-you-go, per-minute billing

What is WebDAV?

The WebDAV protocol was developed by three working groups of the IETF (Internet En­gin­eer­ing Task Force). The initiator was Jim Whitehead, who founded the group in 1996 after a meeting with Sir Tim Berners Lee, the inventor of the World Wide Web. Sir Tim Berners Lee had ori­gin­ally planned the Internet so that web pages could not only be read by anyone, but also edited by anyone. However, as the editing options were not able to be im­ple­men­ted with the basic protocol set for practical reasons, Whitehead and Lee jointly developed the idea into WebDAV. A first version of the protocol was specified in 1999 in RFC 2518. The current version of the trans­mis­sion protocol can be found in RFC 4918.

Defin­i­tion

WebDAV is a network protocol, where the ab­bre­vi­ation stands for "Web-based Dis­trib­uted Authoring and Versioning”. With WebDAV, files can be made available and trans­mit­ted over the Internet. It sup­ple­ments the Hypertext Transfer Protocol (HTTP), which is solely re­spons­ible for dis­play­ing web pages.

How does the WebDAV protocol work?

In order to use WebDAV to transfer data, both client and server must support the protocol. Since this is an es­tab­lished standard, all popular web servers actually enable cor­res­pond­ing im­ple­ment­a­tion. And various operating systems such as Windows (since XP), macOS or Linux now also offer standard support for trans­mis­sions via the WebDAV protocol.

For example, with Windows you don’t need any ad­di­tion­al software or drivers. You can set up and establish a WebDAV con­nec­tion to a server within Explorer, which then displays the ap­pro­pri­ate platform for data exchange as if it were a computer drive. Con­versely, this also means that you can open, edit and delete files stored there or save them to the server as usual in Windows. The transfer protocol enables users access to cloud files or files on a separate server in real time, without the hassle of down­load­ing, caching, editing and uploading.

Setting up WebDAV on a server - how it works

Setting up a con­nec­tion with WebDAV varies for each provider. Usually, there is the pos­sib­il­ity to set up access man­age­ment or a log-in on the server. This access can then later be used to transfer files via the protocol. In addition to an in­di­vidu­al username and password, these log-in details always include, among other things, the IP address of the server.

This allows you to set up the con­nec­tion to a WebDAV server on Windows

Setting up a con­nec­tion to a WebDAV server on Windows is re­l­at­ively easy. Follow these steps:

  1. Open Windows Explorer.
  2. Click with the right mouse button on “This PC” and select the option “Add network location”.
  3. Click on “Choose a custom network location” and enter the IP address of the WebDAV server.
  4. Click “Next”.
  5. In the now opened window, enter your log-in details and confirm this to complete the setup process.
  6. Under “This PC” you should now also find the newly es­tab­lished access to the WebDAV server, among other things.
Tip

If you want to save files to the cloud and integrate in your system struc­tures with WebDAV as described in the above in­struc­tions, you can do this with, among other things, HiDrive Cloud Storage from IONOS.

What ad­vant­ages does the WebDAV protocol offer?

Since WebDAV uses HTTP, it also uses HTTP standard port 80 for the trans­mis­sion, which is not usually blocked by firewalls. With alternate transfer methods such as FTP or SSH, ad­di­tion­al ports often require au­thor­isa­tion in the firewall settings. This is not only as­so­ci­ated with an increased con­fig­ur­a­tion effort, but also entails ad­di­tion­al security risks. When trans­mit­ting via WebDAV, however, data security is not en­dangered by such problems. As the ad­di­tion­al setup effort is otherwise omitted, (es­pe­cially as a WebDAV server can be easily in­teg­rated within an existing HTTP server) system ad­min­is­trat­ors also save a lot of time and effort.

Server and client support from WebDAV at a glance

Which servers and clients are com­pat­ible with the WebDAV protocol? The following list provides an overview.

Servers that support the WebDAV protocol

  • Apache HTTP Server: various WebDAV modules based on either the Linux tool davfs2 or the version man­age­ment Apache Sub­ver­sion (SVN)
  • Microsoft IIS: pro­pri­et­ary WebDAV module
  • NGINX: pro­pri­et­ary, very limited WebDAV module or option to purchase a third-party module
  • SabreDAV: PHP ap­plic­a­tion that can be used in Apache or NGINX as a WebDAV at­tach­ment instead of the supplied modules
  • ownCloud: Cloud storage ap­plic­a­tion with full WebDAV support
  • Nextcloud: ownCloud sub­si­di­ary, which also provides WebDAV support
  • lighttpd: optional module available
  • Caddy: optional module available

Clients that support the WebDAV protocol

  • Git
  • Linux
  • macOS (including native support for CalDAV and CardDAV, which rely on WebDAV)
  • Microsoft Windows
  • Microsoft Office

Which al­tern­at­ives to WebDAV are there?

WebDAV is part of the Internet protocol family. The al­tern­at­ives to the WebDAV protocol are listed below. The two most commonly used al­tern­at­ives to the WebDAV protocol are FTP and SFTP:

  • FTP (File Transfer Protocol): Simple network protocol that allows the transfer of files in computer networks; can be combined with SSL/TLS (FTPS) for secure data traffic
  • SSH File Transfer Protocol (SFTP): A sup­ple­ment to FTP through the Secure Shell (SSH) protocol, which provides the transport protocol with ad­di­tion­al secure file transfer cap­ab­il­it­ies

There are also the following al­tern­at­ives:

  • Rsync: Protocol and tool for syn­chron­iz­ing files
  • AtomPub: HTTP-based protocol for creating and updating web resources
  • Content Man­age­ment In­ter­op­er­ab­il­ity Services (CMIS): Open standard that enables various content man­age­ment systems to exchange in­form­a­tion over the Internet
  • Wiki software: For example, MediaWiki
  • Linked Data Platform (LDP): Spe­cific­a­tion for linked data
Go to Main Menu