Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

July 30, 2001 12:00 AM

Web Sharing and WebDAV

Windows IT Pro
InstantDoc ID #21968
Rating: (1)

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.

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    8 years ago
    Nov 20, 2004

    Excellent

  • Fed up
    8 years ago
    Jul 05, 2004

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

  • Shashank Chada
    8 years ago
    Jun 13, 2004

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

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.