All Topics  
WebDAV

 

   Email Print
   Bookmark   Link






 

WebDAV



 
 
Web-based Distributed Authoring and Versioning, or WebDAV, is a set of extensions to the Hypertext Transfer Protocol
Hypertext Transfer Protocol

Hypertext Transfer Protocol is an application-level protocol for distributed, collaborative, hypermedia information systems. Its use for retrieving inter-linked resources led to the establishment of the World Wide Web....
 (HTTP) that allows users to collaboratively edit and manage files on remote World Wide Web
World Wide Web

The World Wide Web is a very large set of interlinked hypertext documents accessed via the Internet. With a Web browser, one can view Web pages that may contain writing, s, videos, and other multimedia and navigate between them using hyperlinks....
 servers. The group of developers responsible for these extensions was also known by the same name and was a working group
Working Group

Working Group can mean:*Working group, an interdisciplinary group of researchers; or*Working Group , kennel club designation for certain purebred dog breeds; or...
 of the Internet Engineering Task Force
Internet Engineering Task Force

The Internet Engineering Task Force develops and promotes Internet standards, cooperating closely with the World Wide Web Consortium and International Organization for Standardization/International Electrotechnical Commission standard bodies and dealing in particular with standards of the TCP/IP and Internet protocol suite....
 (IETF).

The WebDAV protocol allows "Intercreativity," making the Web a readable and writable medium, in line with Tim Berners-Lee
Tim Berners-Lee

Sir Timothy John Berners-Lee, Order of Merit, Order of the British Empire, Royal Society, Royal Academy of Engineering, Royal Society of Arts is an English people computer scientist and MIT professor credited with inventing the World Wide Web....
's original vision.






Discussion
Ask a question about 'WebDAV'
Start a new discussion about 'WebDAV'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Web-based Distributed Authoring and Versioning, or WebDAV, is a set of extensions to the Hypertext Transfer Protocol
Hypertext Transfer Protocol

Hypertext Transfer Protocol is an application-level protocol for distributed, collaborative, hypermedia information systems. Its use for retrieving inter-linked resources led to the establishment of the World Wide Web....
 (HTTP) that allows users to collaboratively edit and manage files on remote World Wide Web
World Wide Web

The World Wide Web is a very large set of interlinked hypertext documents accessed via the Internet. With a Web browser, one can view Web pages that may contain writing, s, videos, and other multimedia and navigate between them using hyperlinks....
 servers. The group of developers responsible for these extensions was also known by the same name and was a working group
Working Group

Working Group can mean:*Working group, an interdisciplinary group of researchers; or*Working Group , kennel club designation for certain purebred dog breeds; or...
 of the Internet Engineering Task Force
Internet Engineering Task Force

The Internet Engineering Task Force develops and promotes Internet standards, cooperating closely with the World Wide Web Consortium and International Organization for Standardization/International Electrotechnical Commission standard bodies and dealing in particular with standards of the TCP/IP and Internet protocol suite....
 (IETF).

The WebDAV protocol allows "Intercreativity," making the Web a readable and writable medium, in line with Tim Berners-Lee
Tim Berners-Lee

Sir Timothy John Berners-Lee, Order of Merit, Order of the British Empire, Royal Society, Royal Academy of Engineering, Royal Society of Arts is an English people computer scientist and MIT professor credited with inventing the World Wide Web....
's original vision. It allows users to create, change and move documents on a remote
Remote

Remote may refer to:* Ben Stiller, a well known actor and comedian* Remote control, commonly known as a remote* Remote broadcast, commonly known in broadcasting as a person or a live remote...
 server
Server (computing)

A server is a computer program that provides services to other computer programs , in the same or other computer. The physical computer that runs a server program is also often referred to as server....
 (typically a web server or "web share"). This is useful for authoring the documents that a web server serves, but it can also be used for storing files on the web, so that the files can be accessed from anywhere. The most important features of the WebDAV protocol are: locking ("overwrite prevention"); properties (creation, removal, and querying of information about author, modified date, etc.); name space management (ability to copy and move Web pages within a server's namespace
Namespace

In general, a namespace is an abstract container providing context for the items it holds and allowing disambiguation of items having the same name ....
); and collections (creation, removal, and listing of resources). Most modern operating system
Operating system

An operating system is an interface between hardware and applications; it is responsible for the management and coordination of activities and the sharing of the limited resources of the computer....
s provide built-in support for WebDAV. With a fast network and the right client, it is almost as easy to use files on a WebDAV server as those stored in local directories.

The WebDAV working group
Working Group

Working Group can mean:*Working group, an interdisciplinary group of researchers; or*Working Group , kennel club designation for certain purebred dog breeds; or...
 concluded its work in March 2007, after an incremental update to RFC 2518 was accepted by the Internet Engineering Steering Group
Internet Engineering Steering Group

The Internet Engineering Steering Group is a body composed of the Internet Engineering Task Force Chair and Area Directors:*Applications Area ...
 (IESG). Other extensions that were unfinished at that time, such as the BIND method
BIND method

The BIND method is an extension to WebDAV whose purpose is to create new access paths to existing resources. It is currently an Internet Engineering Task Force draft....
, will be finished by their individual authors, independent of the formal working group.

History

WebDAV began in 1996 when Jim Whitehead
Jim Whitehead (programmer)

Jim Whitehead is an Associate Professor of Computer Science at the University of California, Santa Cruz. He received a BS in Electrical Engineering from the Rensselaer Polytechnic Institute in 1989, and a PhD in Information and Computer Science from the University of California, Irvine, in 2000....
 worked with the World Wide Web Consortium
World Wide Web Consortium

The World Wide Web Consortium is the main international standards organization for the World Wide Web . It is arranged as a consortium where member organizations maintain full-time staff for the purpose of working together in the development of standards for the World Wide Web....
 (W3C) to host two meetings to discuss the problem of distributed authoring on the World Wide Web
World Wide Web

The World Wide Web is a very large set of interlinked hypertext documents accessed via the Internet. With a Web browser, one can view Web pages that may contain writing, s, videos, and other multimedia and navigate between them using hyperlinks....
 with interested people. The original vision of the Web as expounded by Tim Berners-Lee
Tim Berners-Lee

Sir Timothy John Berners-Lee, Order of Merit, Order of the British Empire, Royal Society, Royal Academy of Engineering, Royal Society of Arts is an English people computer scientist and MIT professor credited with inventing the World Wide Web....
 was a both readable and writable medium. In fact Berners-Lee's first web browser
Web browser

A Web browser is a application software which enables a user to display and interact with text, images, videos, music, games and other information typically located on a Web page at a website on the World Wide Web or a local area network....
, called WorldWideWeb
WorldWideWeb

WorldWideWeb was the world's first web browser and WYSIWYG HTML editor. It was introduced on February 26, 1991, by UK scientist Sir Tim Berners-Lee, and ran on the NeXTSTEP platform....
, was able to both view and edit web page
Web page

A web page or webpage is a resource of information that is suitable for the World Wide Web and can be accessed through a web browser.This information is usually in HyperText Markup Language or eXtensible HyperText Markup Language format, and may provide Navigation bar to other web pages via hypertext Hyperlink....
s; but, as the Web grew, it became, for most users, a read-only medium. Whitehead and other like-minded people wanted to fix that limitation.

At the W3C meeting, it was decided that the best way to proceed was to form an IETF
Internet Engineering Task Force

The Internet Engineering Task Force develops and promotes Internet standards, cooperating closely with the World Wide Web Consortium and International Organization for Standardization/International Electrotechnical Commission standard bodies and dealing in particular with standards of the TCP/IP and Internet protocol suite....
 working group, because the new effort would lead to extension
Extension (computing)

A software extension is a computer program designed to be incorporated into another piece of software in order to enhance, or extend, the functionalities of the latter....
s to HTTP, which was being standardized at the IETF.

As work began on the protocol, it became clear that handling both distributed authoring and versioning
Revision control

Revision control is the management of multiple revisions of the same unit of information. It is most commonly used in engineering and software development to manage ongoing development of digital documents like application source code, art resources such as blueprints or electronic models, and other projects that may be worked on by a team o...
 was too much work and that the tasks would have to be separated. The WebDAV group focused on distributed authoring, and left versioning for the future. Versioning was added later by the Delta-V extension — see the Extensions section below.

The protocol consists of a set of new methods and headers for use in HTTP and is almost certainly the first protocol ever to use XML. The added methods include:
  • PROPFIND — Used to retrieve properties, stored as XML, from a resource
    Resource (Web)

    The concept of resource is primitive in the World Wide Web architecture, and is used in the definition of its fundamental elements. The term was first introduced to refer to targets of Uniform Resource Locators , but its definition has been further extended to include the referent of any Uniform Resource Identifier , or Internationalized Reso...
    . It is also overloaded
    Method overloading

    Method overloading is a feature found in various programming languages such as Ada , C Sharp , C++, D and Java that allows the creation of several subprograms with the same name which differ from each other in terms of the type of the input and the type of the output of the function....
     to allow one to retrieve the collection structure (a.k.a. directory hierarchy) of a remote system.
  • PROPPATCH — Used to change and delete multiple properties on a resource in a single atomic act
    Atomic commit

    An atomic commit is an operation in which a set of distinct changes is applied as a single operation. If all the changes are applied, the atomic commit is said to have succeeded....
    .
  • MKCOL — Used to create collections (a.k.a. directory).
  • COPY — Used to copy a resource from one URI
    Uniform Resource Identifier

    In Information technology, a Uniform Resource Identifier is a Character string of Character s used to Identifier or name a Resource on the Internet....
     to another.
  • MOVE — Used to move a resource from one URI
    Uniform Resource Identifier

    In Information technology, a Uniform Resource Identifier is a Character string of Character s used to Identifier or name a Resource on the Internet....
     to another.
  • LOCK — Used to put a lock
    Lock (computer science)

    In computer science, a lock is a Synchronization mechanism for enforcing limits on access to a resource in an environment where there are many thread ....
     on a resource. WebDAV supports both shared and exclusive locks.
  • UNLOCK — To remove a lock from a resource.


Implementations


Microsoft Windows

Microsoft introduced WebDAV client support in Microsoft Windows 98
Windows 98

Windows 98 is a graphical operating system released on 25 June 1998 by Microsoft and the successor to Windows 95. Like its predecessor, it is a hybrid 16-bit application/32-bit application monolithic product based on MS-DOS....
 with a feature called "Web folders". This client was simply an extension to Windows Explorer
Windows Explorer

Windows Explorer is a file manager application that is included with releases of the Microsoft Windows operating system from Windows 95 onwards....
 (the desktop/file manager) and was later included in Windows 2000
Windows 2000

Windows 2000 is a line of operating systems produced by Microsoft for use on business desktops, Laptop, and Server . Released on 17 February, 2000, it was the successor to Windows NT 4.0, and is the final release of Microsoft Windows to display the "Windows NT" designation....
. In Windows XP
Windows XP

Windows XP is a line of operating systems produced by Microsoft for use on personal computers, including home and business desktops, laptop, and media centers....
, Microsoft changed the client to the "WebDAV mini-redirector". This newer client works at the file-system level, allowing WebDAV shares to be assigned to a drive letter
Drive letter assignment

Drive letter assignment is the process of assigning alphabetical identifiers to physical or logical disk drives or partition s in the root filesystem namespace; this usage is commonly found in Microsoft operating systems....
 and used by any software. However, most versions of the redirector have serious bugs. It has been known to try to convert HTTP URLs to UNC
Path (computing)

A path is the general form of a computer file or directory name, specifying a unique location in a file system. A path points to a file system location by following the directory tree hierarchy expressed in a string of character in which path components, separated by a delimiting character, represent each directory....
 paths e.g. http://host/path/ is erroneously converted to \\host\path\. Furthermore, it often incorrectly uses Windows Domain
Windows Server domain

A Windows Server domain is a Logical group of computers running versions of the Microsoft Windows operating system that share a central directory database....
 authentication when answering HTTP basic-auth challenges. Some workarounds are:
  • To work around the first problem explicitly specify a port number in the URL e.g. http://host:80/path/
  • Use a fully qualified domain name: NET USE Z: http://drive.example.org/drive
  • Specify the user in the URL http://user@host.tld/path/. This reportedly forces the use of the old "Web folders" client. In addition, WebDAV over HTTPS
    Https

    Hypertext Transfer Protocol Secure is a combination of the Hypertext Transfer Protocol and a secure communication protocol.HTTP operates at the highest layer of the TCP/IP model, the Application layer; but the security protocol operates at lower sublayer, encrypting an HTTP message prior to transmission and decrypting a message upon arriva...
     works only if -version files or newer are installed on the computer. Otherwise Windows displays "The folder you entered does not appear to be valid. Please choose another" when adding a network resource.


In Windows Vista
Windows Vista

Windows Vista is one member in a family of operating systems developed by Microsoft for use on personal computers, including home and business Desktop computer, laptops, Tablet PCs, and media center PCs....
, only the WebDAV redirector is present; the original "Web folders" client has been removed. The "Web folders" client is only present if the Microsoft Update for Web Folders is installed. This will only work on the 32bit version of Vista.

Mac OS X

WebDAV shares have been supported natively as a type of filesystem since Mac OS X
Mac OS X

Mac OS X is a line of computer operating systems developed, marketed, and sold by Apple Inc., and since 2002 has been included with all new Macintosh computer systems....
 version 10.0. The system can mount WebDAV-enabled server directories to the filesystem using the traditional BSD mounting mechanism. Mac OS X version 10.1.1 introduced support for HTTP Digest Access authentication. Mac OS X 10.4 (Tiger) extended WebDAV interoperability to include support for the https scheme, proxies, and additional methods of authentication.

The Finder presents a WebDAV share as an external disk, allowing users to interact with WebDAV just like they would any other filesystem. Apple's iDisk
IDisk

iDisk is a service offered by Apple Inc. to all MobileMe members that enables them to store their digital photos, movies and personal files online so they can be accessed remotely....
 uses WebDAV for file access.

Linux

WebDAV shares can be mounted in Linux using or which mount them as coda
Coda (file system)

Coda is a network file system developed as a research project at Carnegie Mellon University since 1987 under the direction of Mahadev Satyanarayanan....
 or FUSE
Filesystem in Userspace

Filesystem in Userspace is a loadable kernel module for Unix-like computer operating systems, that allows non-privileged users to create their own file systems without editing the Kernel code....
 filesystems. Konqueror
Konqueror

Konqueror is a web browser, file manager and file viewer designed as a core part of the KDE. It is developed by volunteers and can run on most Unix-like operating systems....
 and Nautilus
Nautilus (file manager)

Nautilus is the official file manager for the GNOME desktop. The name is a play on words, evoking the animal shell of a nautilus to represent an shell ....
 have WebDAV support built in. A WebDAV command line client for Unix with an FTP
File Transfer Protocol

File Transfer Protocol is a network protocol used to transfer data from one computer to another through a network such as the Internet.FTP is a file transfer protocol for exchanging and manipulating files over a Transmission Control Protocol computer network....
-like command set called Cadaver is included in many Linux distributions.

Current alternatives to WebDAV

Most of the work was put into developing the WebDAV specifications and recommendations in the late 1990s and since that time many other approaches to solving the same and similar problems have developed. WebDAV is an approach to what would now be called 'content management'.

Many content management system
Content management system

A content management system is a computer application used to create, edit, manage, search and publish various kinds of Content . CMSs are frequently used for storing, controlling, versioning, and publishing industry-specific documentation such as news articles, operators' manuals, technical manuals, sales guides, and marketing brochures....
s now exist (CMS), with either proprietary or open on-line APIs
Application programming interface

An application programming interface is a set of subroutine, data structures, class and/or Protocol provided by library and/or operating system Service s in order to support the building of applications....
 that provide similar functionality to WebDAV.

Remote content can still be managed by the traditional methods based on FTP
File Transfer Protocol

File Transfer Protocol is a network protocol used to transfer data from one computer to another through a network such as the Internet.FTP is a file transfer protocol for exchanging and manipulating files over a Transmission Control Protocol computer network....
 and its derivatives. Versioning and file-locking is also available as part of most revision control
Revision control

Revision control is the management of multiple revisions of the same unit of information. It is most commonly used in engineering and software development to manage ongoing development of digital documents like application source code, art resources such as blueprints or electronic models, and other projects that may be worked on by a team o...
 systems such as CVS
Concurrent Versions System

In the field of software development, the Concurrent Versions System , also known as the Concurrent Versioning System, is a free software revision control system....
 and Subversion (SVN) (which happens to use WebDAV as one of its transports).

The SMB
Server Message Block

In computer networking, Server Message Block operates as an Application layer mainly used to provide shared access to Computer file, Computer printer, serial ports, and miscellaneous communications between nodes on a network....
 protocol allows Microsoft Windows
Microsoft Windows

Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
 and open-source Samba
Samba (software)

Samba is a free software re-implementation of Server Message Block Computer networking protocol , originally developed by Australian Andrew Tridgell....
 clients to access and manage files and folders remotely on a suitable file server
File server

In computing, a file server is a computer attached to a network that has the primary purpose of providing a location for the shared storage of computer files that can be accessed by the workstations that are attached to the computer network....
. More recently, Microsoft
Microsoft

Microsoft Corporation is a multinational corporation computer technology corporation that develops, manufactures, licenses, and supports a wide range of computer software products for computing devices....
 introduced and developed a range of SharePoint server products that also allow remote authors to manage lists and folders of remote, shared files
File sharing

File sharing is a method of distributing electronically stored information such as computer programs and digital media. File sharing can be implemented in a variety of storage and distribution models....
.

Wiki
Wiki

A wiki is a page or collection of Web pages designed to enable anyone who accesses it to contribute or modify content , using a simplified markup language....
 systems also allow distributed authors to use HTTP (without WebDAV) collaboratively to build and develop web sites that are hosted remotely on the internet.

The HTTP, web service
Web service

A Web service is defined by the W3C as "a software system designed to support interoperability Machine to Machine interaction over a computer network"....
 APIs of CMS, Wiki, blog
Blog

A blog is a type of website, usually maintained by an individual with regular entries of commentary, descriptions of events, or other material such as graphics or video....
, revision control and other modern, remote, collaborative authoring and versioning systems may be based on XML SOAP, which uses the HTTP 'POST' and 'GET' verbs almost exclusively. Alternatively, they may use RESTful
Representational State Transfer

Representational state transfer is a style of software architecture for distributed hypermedia systems such as the World Wide Web. As such, it is not strictly a method for building "web services." The terms "representational state transfer" and "REST" were introduced in 2000 in the doctoral dissertation of Roy Fielding, one of the principa...
 techniques, so that in addition to 'GET' and 'POST', other HTTP verbs such as 'PUT' and 'DELETE' also get used meaningfully, in ways that are comparable to WebDAV. Note that WebDAV also specifies more specialised verbs such as 'COPY', 'MOVE', 'LOCK' etc., as described above.

Documents produced by the working group

The WebDAV working group produced several works:
  • a requirements document: "Requirements for a Distributed Authoring and Versioning Protocol for the World Wide Web" RFC 2291, issued February 1998,
  • a base protocol document (excluding versioning, despite its title): "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)" RFC 4918, issued June 2007 (which updates and supersedes "HTTP Extensions for Distributed Authoring — WebDAV" RFC 2518, issued February 1999),
  • the ordered collections protocol: "Web Distributed Authoring and Versioning (WebDAV) Ordered Collections Protocol" RFC 3648, issued December 2003,
  • the access control protocol: "Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol" RFC 3744, issued May 2004,
  • a quota specification: "Quota and Size Properties for Distributed Authoring and Versioning (DAV) Collections" RFC 4331, issued February 2006,
  • a redirect specification: "Web Distributed Authoring and Versioning (WebDAV) Redirect Reference Resources" RFC 4437, issued March 2006.


Other documents published through IETF

  • the versioning protocol: "Versioning Extensions to WebDAV (Web Distributed Authoring and Versioning)" RFC 3253 (created by the Delta-V working group),
  • a specification of WebDAV property datatypes: "Datatypes for Web Distributed Authoring and Versioning (WebDAV) Properties" RFC 4316,
  • a document defining how to initiate mounting of a WebDAV resource: "Mounting Web Distributed Authoring and Versioning (WebDAV) Servers" RFC 4709, and
  • a calendar access protocol: "Calendaring Extensions to WebDAV (CalDAV)" RFC 4791, and
  • a query protocol: "Web Distributed Authoring and Versioning (WebDAV) SEARCH" RFC 5323, and
  • an extension to the WebDAV ACL specification: "WebDAV Current Principal Extension" RFC 5397.


Extensions and derivatives

  • For versioning, the Delta-V protocol under the Web Versioning and Configuration Management working group adds resource revision tracking, published in RFC 3253.
  • For searching and locating, the DAV Searching and Locating (DASL) working group never produced any official standard although there are a number of implementations of its last draft (work continued as non-working-group activity, see ). However another, attempts to pick up where it left off, and was published as RFC 5323 in November 2008.
  • For calendaring, CalDAV
    CalDAV

    Calendaring Extensions to WebDAV, or CalDAV is a standard allowing a client to access scheduling information on a remote server. It extends WebDAV specification and uses iCalendar format for the data....
     is a protocol allowing calendar access via WebDAV. CalDAV models calendar events as HTTP resources in iCalendar
    ICalendar

    iCalendar is a computer file format which allows internet users to send meeting requests and tasks to other internet users, via email, or sharing files with an .ics Filename extension....
     format, and models calendars containing events as WebDAV collections.
  • For groupware, GroupDAV
    GroupDAV

    GroupDAV is a computer Communications protocol used to connect Open Source groupware clients with Open Source groupware servers. It is a lightweight protocol whose primary design goal is to be as simple as possible to implement, focusing more on real world issues with open source applications than on an extremely extensive command set....
     is a variant of WebDAV which allows client/server groupware systems to store and fetch objects such as calendar items and address book entries instead of web pages.
  • For Exchange interoperability, WebDAV can be used for reading/updating/deleting items in a mailbox or public folder. WebDAV for Exchange has been extended to accommodate working with messaging data. Exchange Server version 2000, 2003 and 2007 support WebDAV. Here is a training paper on WebDAV for Exchange (it also covers WebDAV usage overall and includes samples), . This blog covers WebDAV development .


See also

  • Content management
    Content management

    Content management, or CM, is a set of processes and technologies that support the evolutionary life cycle of digital information. This digital information is often referred to as Content or, to be precise, digital content....
  • File system
    File system

    In computing, a file system is a method for store and organize computer files and the data they contain to make it easy to find and access them....
  • Filing OSID
    Filing Open Service Interface Definition

    The Filing Open Service Interface Definition is an O.K.I. specification.OSIDs are programmatic interfaces which comprise a Service Oriented Architecture for designing and building software reusability and interoperable software....
  • ICE
  • Versioning


External links