For faster navigation, this Iframe is preloading the Wikiwand page for WebDAV.

WebDAV

WebDAV
通信プロトコル
目的 Webサーバ上のファイル管理
開発者 ジム・ホワイトヘッド英語版Internet Engineering Task Force(IETF)
導入 1996年 (28年前) (1996)
派生元 Hypertext Transfer Protocol(HTTP)
派生先 Delta-V、CalDAV、GroupDAV
OSI階層 アプリケーション層
ポート 80, 443
RFC RFC 2518, RFC 4918

WebDAVWeb-based Distributed Authoring and Versioning、ウェブダブ)はHypertext Transfer Protocolを拡張したもので、Webサーバ上のファイル管理を目的とした分散ファイルシステムを実現するプロトコルである。

概要

[編集]

WebDAVは、Webサーバに対して直接ファイルのコピーや削除を行ったり、ファイル所有者や更新日時などのファイル情報を取得・設定するといった機能を持つ分散ファイルシステムで、HTTP 1.1を拡張したプロトコルで実現される。元々はファイルのバージョン管理機能も内包していたが、後に RFC 3253 で定義されたDelta-Vに分離された。

マイクロソフトによって最初に開発され、1999年2月に RFC 2518 が発表された。2007年6月に発表された RFC 4918 が2008年1月現在最新の定義である。

特徴

[編集]

Webサーバ等でコンテンツのアップロードや更新を行う際に、FTPscpのような別のサービス・プロトコルを使うことなく、HTTPだけで全てのコンテンツ管理を完結できる。また、HTTPの拡張のみによって実装されているため、ファイアウォールによって既存のファイル転送サービスが利用できない環境や、HTTPプロキシを経由した環境でも利用できる。

設計

[編集]

WebDAVには、元となるHTTP 1.1に加え次のメソッドが存在する。HTTPのヘッダ部でメソッドおよびURIを指定する。ボディ部では、クライアント・サーバ双方ともXMLを用いる。

PROPFIND
指定したURIが示す資源の属性を取得する。具体的には、要求する属性をクライアントがWebサーバに送信すると、サーバはそれに対応した属性値を返す。また、その資源の属性全てを取得することも出来る。
PROPPATCH
指定したURIが示す資源の属性の設定や削除を行う。
MKCOL
指定したURIの場所に新たな資源を作成する。
COPY
指定したURIが示す資源およびその属性値を別のURIにコピーする。
MOVE
指定したURIが示す資源およびその属性値を別のURIに移動する。
LOCK
指定したURIが示す資源のファイルロックを設定する。共有ロック排他ロックの二種類が利用できる。
UNLOCK
指定したURIが示す資源のロックを解除する。

実装

[編集]

Webサーバ

[編集]
Internet Information Services
Windows ServerにおけるWebサーバInternet Information Servicesは、バージョン5.0からWebDAVをサポートしている[1]
Apache HTTP Server
バージョン1.3から既存のApache HTTP Serverに追加する形でのWebDAVモジュールが存在していた[2]。バージョン2.0からは標準搭載され[3]、設定のみで利用できる。
Ruby on Rails
WebDAVサーバ機能を実現する追加モジュール[4]が存在する。
04WebServer
2003年10月1日公開のバージョン0.40から実装されている。

クライアント

[編集]

Windows

[編集]

Windows 98以降は「Webフォルダ」という名称のWebDAVクライアント機能を内蔵し、ネットワーク上に置かれたファイルとしてアクセスできる。

Windows XP SP2以降でBasic認証を行うには、HTTPS (SSL) での接続が必要であり、HTTP接続ではレジストリの設定を変更する必要がある[5][6]

Windows VistaではWebDAV機能は動作しない。「Web フォルダのソフトウェア更新プログラム: KB907306」を適用すれば32bit版に限り[7]利用可能であったが[8]、これも2022年現在は利用できない。

Windows 7以降は再び標準で利用可能となっている[9]

2023年11月にマイクロソフトからWebDAV機能は非推奨とされ、標準では利用不可となった。[10]

その他、Windows用のクライアントとして、CarotDAV[11]やNetDrive[12]、TeamFileクライアント[13]などがある。

OS X

[編集]

Finderは、WebDAVクライアント機能を内蔵している。Appleが運営するストレージサービスiDiskへのアクセスには、WebDAVを利用している[14]

UNIX

[編集]

GNOMEにおいてファイルアクセス抽象化機能を提供するGnomeVFSは、WebDAVクライアント機能を備えている。GNOMEファイルなどファイルアクセスにGnomeVFSを用いているアプリケーションは、シームレスにWebDAVサーバ上のファイルにアクセスできる。

cadaver[15]は、キャラクタユーザインタフェースを持つWebDAVクライアントである。

その他

[編集]

PerlにおけるHTTP::DAV[16]PythonのPyDAV[17]などのように、各種スクリプト言語向けのクライアントライブラリが複数存在する。

Subversionarchでは、リモートリポジトリへのアクセスプロトコルにWebDAVが利用できる。

WebDAVを使用した規格

[編集]
CalDAV
カレンダーの情報を交換するための規格。
CardDAV
アドレス帳の情報を交換するための規格。

その他

[編集]

ハロウィーン文書内でのHTTP-DAV[18][19]とは、WebDAVのことを指している。

脚注

[編集]
  1. ^ Windows 2000 ホーム ‐ Internet Information Services 5.0 技術概要
  2. ^ mod_dav: a DAV module for Apache
  3. ^ Apache 2.0 の新機能の概要
  4. ^ WebDAV in Ruby on Rails
  5. ^ Windows シェル コマンドを使って、または エクスプローラ表示 を使って、 Windows SharePoint Services 3.0 または Windows SharePoint Services 2.0 にドキュメントライブラリに接続できません。
  6. ^ Using the WebDAV Redirector” (英語). microsoft.com. Microsoft (2022年3月22日). 2022年6月5日閲覧。
  7. ^ How do I access WebDAV in Windows XP/Vista? | QNAP” (英語). QNAP (2022年3月20日). 2022年6月5日閲覧。
  8. ^ Windows Vista からの WebDAV 接続 - KAGOYA Internet Routing”. kagoya.jp. カゴヤ・ジャパン. 2022年6月5日閲覧。
  9. ^ Can't access WebDAV Web folder - Windows Client” (英語). microsoft.com. Microsoft (2021年9月23日). 2022年6月5日閲覧。
  10. ^ mestew (2024年2月9日). “Deprecated features in the Windows client - What's new in Windows” (英語). learn.microsoft.com. 2024年2月19日閲覧。
  11. ^ 麗の小屋 - WebDAV Client CarotDAV -
  12. ^ Solution Box Inc.
  13. ^ チームファイル
  14. ^ .Mac Services: iDisk についてよくお問い合わせいただく質問と解答 (FAQ) - 4/5
  15. ^ cadaver - command-line WebDAV client
  16. ^ HTTP::DAV
  17. ^ PyDAV
  18. ^ Halloween Document 10
  19. ^ Halloween I:Japanese (山形浩生による日本語訳)

外部リンク

[編集]
{{bottomLinkPreText}} {{bottomLinkText}}
WebDAV
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?