[This is preliminary documentation and subject to change]

# Creating a Publishing Directory

The following procedure walks you through setting up a publishing directory called WebDAV.

###### To set up a publishing directory

1. Create a physical directory on your Web server. You can create this directory anywhere on your Web server.

   Note If you create the directory in the Inetpub/Wwwroot directory, you need to adjust the permissions for the new directory. By default, the Wwwroot directory has read-only permissions, and any directory you create under Wwwroot inherits read-only permissions. All other directories have full-control permissions set by default.

2. In the IIS snap-in, create a virtual directory.For instructions, see Creating Virtual Directories.
3. Type WebDAV as the alias for this virtual directory, and link it to the physical directory you created in Step 1.
4. Grant Read, Write, and Browsing access permissions for the virtual directory.

   You are granting users the right to publish documents on this virtual directory and to see a list of the files in it. Although not recommended for security reasons, you can grant the same access to your entire Web site and allow clients to publish to your entire Web server.

Note Granting Write access does not give clients the ability to modify Active Server Pages (ASP) or any other script-mapped files. To allow these files to be modified, you must grant Write permission and Script source access after creating the virtual directory. For information about setting these permissions, see Setting Web Server Permissions.

Once you finish setting up a WebDAV virtual directory, you can allow clients to publish to it. For information on how users can connect to the directory through any of the Microsoft WebDAV Clients, see Publishing and Managing Files.

© 1997-2001 Microsoft Corporation. All rights reserved.