Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


July 30, 2001

Web Sharing and WebDAV


RSS
Subscribe to Windows IT Pro | See More Microsoft Management Console (MMC) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Because Windows 2000 is a complex product that includes many integrated components, several of its features remain relatively unknown. One such feature is Microsoft Internet Information Services’ (IIS's) WWW Distributed Authoring and Versioning (WebDAV). (IIS 5.0 is included with Win2K Server.) Based on Request for Comments (RFC) 2518, WebDAV extends HTTP functionality so that you can work collaboratively with shared files over the Internet. Since its inception, the Internet has provided a great way to share access to read-only information, but WebDAV lets you use the Internet to give write access to files, providing a platform to create document-management and collaborative applications.

WebDAV
Configuring a Win2K-IIS 5.0 machine to use WebDAV is straightforward. Right-click a folder that you want to share access to and choose Properties. Select the Web Sharing tab, and select Share this Folder. On the Edit Alias dialog box that appears, create an alias for the shared WebDAV folder. The alias name you specify will become the name of the virtual directory that the system creates and will appear in the Microsoft Management Console (MMC) Internet Services Manager (ISM) snap-in.

From a Win2K machine, you can connect to WebDAV folders by opening My Network Places and specifying the folder's URL (e.g., http://www.win2000mag.com/web_docs) instead of the usual Universal Naming Convention (UNC) path. From other OSs, you can connect to WebDAV folders using Microsoft Internet Explorer (IE) 5.0 or later. Open IE, click File, Open, and specify the URL. Next, select Open as a Web Folder.

Once you've established a connection to a WebDAV folder, you can manipulate folder resources just as you would if you were working with a local folder. If you have the appropriate permissions, you can add files and modify existing files, for example. Best of all, because you connect to WebDAV folders through HTTP, you can work with the folder from virtually anywhere. This flexibility gives you new options for supporting remote users and widely dispersed project teams. You can use Microsoft Office's revision tracking features to extend the functionality even further.

WebDAV might seem similar to FTP, but a few differences exist. When you work with WebDAV folders, the files you're accessing remain in those folders. With FTP, you download files to your local machine, make changes to those files, and transfer the files back to the FTP server, overwriting the original files. However, when you make changes to a file in a WebDAV folder, the system places a lock on the file so that other users can't make changes to it. Other users can still view the file, but only one user can make changes at a time. Also, WebDAV provides more security than FTP because of HTTP's more secure authentication and encryption features (e.g., Secure Sockets Layer—SSL).

Securing WebDAV Resources
You control security access to WebDAV folders at two levels. First, when you enable a folder for Web sharing, you can specify whether to permit read or read/write access and whether to permit directory browsing. Directory browsing lets users see the files that exist in shared folders. Second, you can set NTFS permissions on the WebDAV folder to specify which users have access to the folder. Remember that for NTFS permissions to be effective, you must configure authentication control. You can configure authentication control by opening the ISM snap-in and accessing the virtual directory properties.

As a final note, if you grant write access to many users, consider configuring disk quotas on your Web server. Disk quotas will prevent users from copying a large number of files to your Web server and consuming too much hard-disk space.

End of Article



Reader Comments
Wow! I didn't know about this. Thanks for such a resourceful article.

Shashank Chada June 13, 2004


How do you configure a webdav server for uploading of large files?

Fed up July 05, 2004


Excellent

Anonymous User November 20, 2004 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...


Related Events Deep Dive into Windows Server 2008 R2 presented by John Savill

Windows, Unix, Linux Interoperability

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement