webdav - april 15 2008

29
WebDAV Sean C. Sullivan Portland Java User Group April 15, 2008

Upload: sullis

Post on 11-Nov-2014

1.757 views

Category:

Technology


3 download

DESCRIPTION

WebDAV Portland Java User Group April 15 2008

TRANSCRIPT

Page 1: WebDAV - April 15 2008

WebDAVSean C. Sullivan

Portland Java User GroupApril 15, 2008

Page 2: WebDAV - April 15 2008

Topics

• WebDAV protocol

• WebDAV clients

• Open source libraries

• WebDAV programming

• Useful tools

• Advanced topics

Page 3: WebDAV - April 15 2008

WebDAV defined

“Web Distributed Authoring and Versioning (WebDAV) consists of a set of methods, headers, and content-types ancillary to HTTP/1.1 for the management of resource properties, creation and management of resource collections, URL namespace manipulation, and resource locking (collision avoidance)”

Page 4: WebDAV - April 15 2008

WebDAV

WebDAV is a set of extensions to HTTP that enable clients to manage files on a remote server

Page 5: WebDAV - April 15 2008

Wikipedia: WebDAV

Page 6: WebDAV - April 15 2008

webdav.org

Page 7: WebDAV - April 15 2008

WebDAV specifications

• RFC 4918 - core specification

• RFC 3648 - ordered collections

• RFC 4316 - properties

• RFC 3253 - versioning extensions

• RFC 4331 - quota and size

• RFC 3744 - access control

Page 8: WebDAV - April 15 2008

WebDAV methods• PROPFIND

• OPTIONS

• GET

• PUT

• DELETE

• COPY

• LOCK

• UNLOCK

• MOVE

• MKCOL

• PROPPATCH

• SEARCH

Page 9: WebDAV - April 15 2008

WebDAV methodscontinued

• SUBSCRIBE

• UNSUBSCRIBE

• BPROPFIND

• BPROPPATCH

• NOTIFY

Page 10: WebDAV - April 15 2008

Mac OS X Finder

Page 11: WebDAV - April 15 2008

Mac OS X mount_webdav

Page 12: WebDAV - April 15 2008

Windows XP

Page 13: WebDAV - April 15 2008

Windows XP

Page 14: WebDAV - April 15 2008

Windows XP

Page 15: WebDAV - April 15 2008

Windows XP

Page 16: WebDAV - April 15 2008

Open source libraries

• mod_dav

• Apache Jackrabbit

• Jakarta Slide

• others listed at www.webdav.org

Page 17: WebDAV - April 15 2008

Jakarta Slide

Page 18: WebDAV - April 15 2008

Apache Jackrabbit

Page 19: WebDAV - April 15 2008

Atlassian Confluence

Page 20: WebDAV - April 15 2008

Clearspace

Page 21: WebDAV - April 15 2008

HTTP debugging tools

• http://www.fiddler2.com (Windows only)

• http://xml.apache.org/tcpmon (Java)

Page 22: WebDAV - April 15 2008

Apache tcpmon

Page 23: WebDAV - April 15 2008

WebDAV programming

• org.apache.jackrabbit.webdav

• org.apache.jackrabbit.webdav.client

• org.apache.jackrabbit.webdav.client.methods

• org.apache.jackrabbit.webdav.server

Page 24: WebDAV - April 15 2008

Advanced topics

• Internet Explorer

• Security

Page 25: WebDAV - April 15 2008

Internet Explorer and WebDAV

• OpenDocuments control

• HTTP “web folder” behavior

Page 26: WebDAV - April 15 2008

Microsoft OpenDocuments

http://msdn2.microsoft.com/en-us/library/ms454230.aspx

Page 27: WebDAV - April 15 2008

Microsoft OpenDocuments

http://msdn2.microsoft.com/en-us/library/cc264288.aspx

Page 28: WebDAV - April 15 2008

Internet Explorer “web folder” behavior

Page 29: WebDAV - April 15 2008

Security

• WebDAV over HTTPS

• use Basic authentication?

• use Negotiate (SPNEGO)?

• cookie-based authentication?