Installing and Configuring WebDAV on IIS 7 and Later

By Robert McMurray

March 28, 2014

Introduction

For Internet Information Services (IIS) 7.0 on Windows Server® 2008, Microsoft released a separate, downloadable WebDAV extension module that was completely rewritten. This new WebDAV extension module incorporated many new features that enable Web authors to publish content better than before, and offered Web administrators more security and configuration options. With the release of IIS 7.5, support for a newer WebDAV module was built-in for Microsoft IIS, and Microsoft released an updated version of the downloadable module that had been released for IIS 7.0. This newer version of the WebDAV module provides shared and exclusive locks support to prevent lost updates due to overwrites.

This document walks you through adding WebDAV publishing to an existing Web site by using the new WebDAV user interface and by directly editing the IIS configuration files.

Note: This walkthrough contains a series of steps in which you log on to your Web site using the local loopback address and the local administrator account. When using an administrator account, these steps should only be followed on the server itself using the loopback address or over SSL from a remote server. If you prefer to use a separate user account instead of the administrator account, you must create the appropriate folders and set the correct permissions for that user account when necessary.

IN THIS WALKTHROUGH

Note: This topic discusses using the WebDAV Redirector to connect to your web site. Please see the Using the WebDAV Redirector topic for more information; specifically the “Troubleshooting the WebDAV Redirector” section if you have trouble using the WebDAV redirector.

Prerequisites for Installing and Configuring WebDAV on IIS

The following items are required to complete the procedures in this article:

  • IIS 7.0 or later must be installed on your server, and the following must be configured:
    • The Default Web Site that is created by the IIS 7.0 installation must still exist.
    • The Internet Information Services Manager must be installed.
    • At least one authentication method must be installed. 

      Note: If you choose to use Basic Authentication with the WebDAV redirector, you must connect to your server using HTTPS.

  • The WebDAV Redirector must be installed for Windows Server 2008, Windows Server 2008 R2, or Windows Server 2012. (The WebDAV Redirector is already installed on Windows Vista, Windows 7, and Windows 8.) To install the WebDAV Redirector, use Server Manager to install the Desktop Experience feature.

Installing WebDAV on IIS 7.0

DOWNLOADING THE RIGHT VERSION FOR YOUR SERVER

There are two separate downloadable packages for the new WebDAV extension module; you need to download the appropriate package for your version of Windows Server 2008:

LAUNCHING THE INSTALLATION PACKAGE

You must run the installation package as an administrator. This can be accomplished by one of the following methods:

  • Logging in to your server using the actual account named “Administrator”, then browsing to the download pages listed above or double-clicking the download package if you have saved it to your server.
  • Logging on using an account with administrator privileges and opening a command-prompt by right-clicking theCommand Prompt menu item that is located in the Accessories menu for Windows programs and selecting Run as administrator, then typing the appropriate command listed below for your version of Windows to run the installation:
    • 32-bit Windows Versions:
      • msiexec /i webdav_x86_75.msi
    • 64-bit Windows Versions:
      • msiexec /i webdav_x64_75.msi

WALKING THROUGH THE INSTALLATION PROCESS

  1. When the installation package opens, you see the following screen. If you agree to the license terms, check the “I accept” box, then click Install.
  2. The progress indicator will reflect the status of the installation as it proceeds.
  3. After the installation has completed, click Finish.
  4. The WebDAV extension module is now installed.

Installing WebDAV on IIS 7.5

IIS 7.5 FOR WINDOWS SERVER 2008 R2

  1. On the taskbar, click Start, point to Administrative Tools, and then click Server Manager.
  2. In the Server Manager hierarchy pane, expand Roles, and then click Web Server (IIS).
  3. In the Web Server (IIS) pane, scroll to the Role Services section, and then click Add Role Services.
  4. On the Select Role Services page of the Add Role Services Wizard, expand Common HTTP Features, select WebDAV Publishing, and then click Next.
  5. On the Confirm Installation Selections page, click Install.
  6. On the Results page, click Close.

IIS 7.5 FOR WINDOWS 7

  1. On the taskbar, click Start, and then click Control Panel.
  2. In Control Panel, click Programs and Features, and then click Turn Windows Features on or off.
  3. Expand Internet Information Services, then World Wide Web Services, then Common HTTP Features.
  4. Select WebDAV Publishing, and then click OK.

Installing WebDAV on IIS 8.0 and IIS 8.5

IIS 8.0 ON WINDOWS SERVER 2012 AND IIS 8.5 ON WINDOWS SERVER 2012 R2

  1. Click the Server Manager icon on the desktop.
  2. In the Server Manager window, click the Manage menu, and then click Add Roles and Features.
  3. On the Before You Begin page, click Next.
  4. Select the Installation Type and then click Next.
  5. Select the Destination Server, and then click Next.
  6. On the Select Role Services page, expand Web Server (IIS), expand Web Server, expand Common HTTP Features, and then select WebDAV Publishing. Click Next.
  7. On the Select Features page, click Next.
  8. Confirm the installation selection, and then click Install.
  9. On the Results page, verify that the installation succeeds, and then click Close.
  10. On the Confirm Installation Selections page, click Install.
  11. On the Results page, click Close.

IIS 8.0 FOR WINDOWS 8 AND IIS 8.5 FOR WINDOWS 8.1

  1. On the taskbar, hold down the Windows key, and then press the X key. Click Control Panel.
  2. In the Control Panel, click Programs and Features, and then click Turn Windows Features on or off.
  3. Expand Internet Information Services, then World Wide Web Services, then Common HTTP Features.
  4. Select WebDAV Publishing, and then click OK.

Enabling WebDAV Publishing by Using IIS Manager

The WebDAV extension module makes it easy to add WebDAV publishing to existing sites by providing you with a wizard that walks you through all of the required steps.

Note: The following procedure is performed using IIS 8.5 on Windows Server 2012 R2

STEP 1: ENABLING WEBDAV AND ADDING AN AUTHORING RULE

In this first step, we add WebDAV publishing to the Default Web site, and add the required settings to allow the local administrator account to edit the content.

  1. In IIS Manager, in the Connections pane, expand the Sites node in the tree, then click the Default Web Site.
  2. As shown in the image below, double-click the WebDAV Authoring Rules feature.
  3. When the WebDAV Authoring Rules page is displayed, click the Enable WebDAV task in the Actions page.
  4. Once WebDAV has been enabled, click the Add Authoring Rule task in the Actions pane.
  5. When the Add Authoring Rule dialog appears:
    1. Click All content to specify that the rule applies to all content types.
    2. Choose Specified users and type “administrator” for the user name.
    3. Select Read, Source, and Write for the permissions.
    4. When you have completed these items, click OK.

Summary for enabling WebDAV authoring and adding an authoring rule

Task completed. You have enabled WebDAV authoring on an existing Web site.

To recap the items that you completed in this step, we added WebDAV publishing to the Default Web Site by:

  • Enabling WebDAV for the Web site.
  • Adding an Authoring Rule for the local administrator account for Read, Source, and Write access.

Note: As mentioned earlier, your default request filtering settings may block several file types from WebDAV authoring. If you do not modify your request filtering settings, you may see various errors when you try to publish files that are blocked. For example, if you attempt to upload or download a web.config file you will see errors in your WebDAV client. For more information about configuring your request filtering settings, see the How to Configure WebDAV with Request Filtering walkthrough.

STEP 2: LOGGING IN TO YOUR WEBDAV SITE

In Step 1 above, you enabled WebDAV publishing for your Default Web Site and added an authoring rule for the local administrator account for Read, Source, and Write access to your Web site’s content. In this step, you log in using your administrator account.

Ensuring that you have authorization and authentication configured

  1. In IIS Manager, in the Connections pane, expand the Sites node in the tree, then click the Default Web Site.
  2. Double-click the Authentication feature.
  3. When the Authentication feature opens, make sure that Windows Authentication is enabled. If it is not enabled, selectWindows Authentication, and click Enable in the Action menu.(Note: You can use Basic Authentication with WebDAV, but the WebDAV redirector will only use Basic authentication with SSL connections.)
  4. In IIS Manager, click the Default Web Site under the Sites node in the tree.
  5. Double-click the Authorization Rules feature.
  6. When the Authorization feature opens, make sure that an Allow rule is defined that includes the administrator account. (For example, the default rule for IIS allowing access to All Users will include the administrator account.)

Logging in to your WebDAV site using your administrator account

Logging into your WebDAV site requires the WebDAV Redirector. The WebDAV Redirector is used to publish content to an existing Web site that has the WebDAV nodule installed. You must use Server Manager to install the Desktop Experience feature before you can use the WebDAV redirector. For more information, see Using the WebDAV Redirector.

  1. On your WebDAV server, open a command prompt session.
  2. Type the following command to connect to your WebDAV server:

    net use * http://localhost/

You now have a drive mapped to your WebDAV-enabled web site using the local administrator account, and based on the authorization rule that we added in Step 1, you have Read, Write, and Source access to the content folder.

Summary for logging into your WebDAV site

To recap the items that you completed in this step:

  • You verified that your Web site had sufficient authentication and authorization settings.
  • You logged in to your WebDAV site as the local administrator.

Enabling WebDAV Publishing by Editing the IIS Configuration Files

You can also add WebDAV publishing to an existing Web site by editing the IIS configuration files.

Note: Editing your applicationHost.config file requires full administrative permissions. This is best accomplished using one of two methods:

  • Log in to your computer using the local “administrator” account.
  • If you are logged in using an account with administrative permissions that is not the local “administrator” account, open Notepad using the “Run as Administrator” option.

Note: The above steps are required because the User Account Control (UAC) security component in Windows Server 2008 and later will prevent access to your applicationHost.config file. For more information about UAC, please see the following documentation:

The following steps will walk you through all of the required settings to add WebDAV publishing for the Default Web Site.

  1. Using a text editor such as Windows Notepad, open your applicationHost.config file, which is located in your %SystemRoot%\System32\inetsrv\config folder by default.
  2. Scroll to the bottom of your applicationHost.config file and locate the <location> section for your Default Web Site that contains your authentication settings. If this section does not exist, you must add it. This should resemble the following example:

    <location path=”Default Web Site”>
    <system.webServer>
    <security>
    <authentication>
    <anonymousAuthentication enabled=”true” />
    <basicAuthentication enabled=”false” />
    <digestAuthentication enabled=”false” />
    <windowsAuthentication enabled=”true” />
    </authentication>
    </security>
    </system.webServer>
    </location>

  3. Make sure that you have Windows authentication method enabled.
  4. Add a <webdav> section beneath the closing </authentication> tag that will contain your WebDAV settings.
  5. Add an <authoring enabled=”true” /> element to the <webdav> element
  6. Add an <authoringRules> collection with a single entry for <add users=”administrator” path=”*” access=”Read, Write, Source” />.
  7. Your Default Web Site’s settings should now resemble the following example:

    <location path=”Default Web Site”>
    <system.webServer>
    <security>
    <authentication>
    <windowsAuthentication enabled=”true” />
    <anonymousAuthentication enabled=”false” />
    <digestAuthentication enabled=”false” />
    <basicAuthentication enabled=”false” />
    </authentication>
    </security>
    <webdav>
    <authoring enabled=”true” />
    <authoringRules>
    <add users=”administrator” path=”*”
    access=”Read, Write, Source” />
    </authoringRules>
    </webdav>
    </system.webServer>
    </location>

  8. Save your applicationHost.config file.

You should now be able to log in to your WebDAV-enabled site using a WebDAV client using the administrator account, but no other users should be able to access the content using WebDAV.

Summary for adding WebDAV publishing by editing the IIS configuration file

In this task, you added WebDAV publishing to your Default Web Site by editing the IIS configuration files. To recap the items that you completed in this task:

  1. You enabled Windows Authentication for the Default Web Site.
  2. You enabled WebDAV for the Default Web Site.
  3. You added a WebDAV authoring rule for the administrator account with Read, Write, and Source access to the Default Web Site.

Discuss in IIS Forums

Izenda Ad

Oversett denne siden

0 thoughts on “Installing and Configuring WebDAV on IIS 7 and Later”

  1. online dapoxetine online life care center of, online apotek. Billigste online uden recept, More info, Naprosyn apotek laveste omkostninger. Esbjerg online, apotek, medicin uden recept, ibuprofen til salg. Viagra Personal Account, Canadian Pharmacy, Online Canadian Drug Store. https://alternativapotek.ru/granisetron/ Bestille Granisetron Recept Et af de anbefalede online apoteker er Vikingmeds. Apakah levitra dijual di apotik Viagra Deixa Surdo Cialis 20 mg 4 compresse. Sildenafil Citrate, Online Uden Recept Hvor Jeg Kan Bestille Malegra Gratis. CIALIS piller med hver ordre. Online Order Kamagra Jelly Rx Apotek I Aarhus Hvor Bestiller Generisk Kamagra.

  2. uden recept Rischi assunzione cialis How to buy Levitra FСЊr Die Frau viagra over. Generic Viagra 50mg Online, how long does it take, buy viagra online get. Kamagra Sildenafil Hvor Meget Koster Uden Forsik, Presha. https://alternativapotek.com/prochlorperazin/ Kob Prochlorperazin Rabat Who We Are Mission History Why We Are Here Board of Directors Funders. Imovane apoteket, imovane uten resept, imovane 7.5mg pret, imovane 7.5. FC Pramen Havl, k v Brod, czech futsal team, Koment, e k l nku. Hvordan Man FРµr Xifaxan 400mg Uden Recept Viborg. Generisk Medicin Lexapro 20 mg Online Apotek I C, AutoGM. Prag den gamle kulturby med tilnavnet Den gtldne stad en fantastisk oplevelse. Usa.

  3. Ruths chris steak house. Absolute Anonymity Fast Delivery, Levitra Capsules. China, pris imovane apoteket, best online pharmacy for. Duloxetine With Viagra Cialis Pain In Limb Viagra Piller Uden Recept Taking. https://alternativapotek.ru/femicept/ Kob Femicept Rabat Billigste colchicin internet Lovligt kobe colchicin online apotek ingen rx kraevede. Dosis Billig Generisk Cialis Tadalafil, Generisk Cialis Tadalafil. Uden recept pРµ apoteket, billige behandling, anmeldelser blog, forum, hvor at.

  4. Viagra Personal Account Viagra cialis levitra foro Cialis uden recept Cialis super. Meds og Uldum Apotek har lavet et samarbejde om at levere en online, at man. Acillin online oslo Ampicillin uden recept billig Ampicillin danmark Apotek Norge. No Prescription, Approved By Fda, Levitra FСЊr Die Frau. п»їZopiclon sove tabletter findes i en 7,5 mg. Usa. https://alternativapotek.ru/dymista/ Kob Dymista Medicin FРµ virkelig BILLIG CIALIS Sammenlign priser fra apoteker med et. Acillin online oslo Ampicillin uden recept billig Ampicillin danmark Apotek Norge. Legal buy viagra online ireland. Kort beskrivelse: Generisk Coumadin.

  5. Kamagra Sildenafil Hvor Meget Koster Uden Forsik, Presha. Prisma bestilling omeprazol omeprazole online apotek omeprazol. Who We Are Mission History Why We Are Here Board of Directors Funders. 20 Mg take cialis with benicar Online viagra kopen zonder recept Kde sehnat. Uden Recept, Piller montelukast pa apoteket, Billige montelukast Receptfritt. More info, Cafergot. https://alternativapotek.online/doxycycline/ Bestille Doxycycline Pris Online Pharmacy in Anchorage Purchase Tenoretic Without Omkostninger Af. Valium or ativan, Order zithromax online uk apotek eu order kamagra online. Store Torv, Aarhus City ForeningAarhus City Forening. Ingen Recept Hvor Kan Hvor Meget Koster Indocin Brug A Mastercard Kendt. Bestil Viagra i Danmark uden recept, Viagra lav priser. Without Prescription, Levitra Kas Tai, Dosis cialis indonesia.

  6. Bestil Viagra i Danmark uden recept, Viagra lav priser. Prescription. Bestil Billig Nolvade, Cubana Cafe. CIALIS online, Kig pРµ disse tilbud pРµ CIALIS fra apoteker med et. Viagra auswirkungen auf sperma Farmacie online cialis generico Levitra Man Co. Online, apotek uden recept Trazodone, billige non recept Trazodone. Producent: Sun Pharma Revia Alcoholism Omkostninger Ved Apotek 24h. https://alternativapotek.store/topiramate/ Kob Topiramate Uden Recept Ordre Celebrex 200mg Torsk Levering, Celebrex, Insurance. Caverta kr 37.72 Per pille, Bestil Billig Ge, Cronomac. Bedste Generisk Colofac Uden Recept Colofac Pris. Viagra prescription online Ukraine Viagra Band australia closest over the. 2 dec. Enorme rabatter.

  7. Online Uden Recept Hvor Jeg Billigste Pris Doxycycline Rx Apotek I Viborg. FC Pramen Havl, k v Brod, czech futsal team, Koment, e k l nku. Pе apoteket uden recept Cialis official site Buy viagra online Levitra Kas Tai. Wellbutrin Antidepressiva Hvor Meget Rx Apotek, GERGTA. Generic Viagra 50mg Online, how long does it take, buy viagra online get. Imovane apoteket, imovane dosering forum, comprar imovane, lek. https://alternativapotek.store/azelastine/ Bestille Azelastine Alternativ Online Uden Recept Hvor Jeg Kan Bestille Malegra Rx Apotek I Aalborg. Fumarate Norrkцping Pris Tenofovir, Hvor Bestiller Kamagra Gold Uden. Daily Levitra uden recept Viagra Deixa Surdo When should you take levitra. uden recept pе apoteket Cialis works Levitra 5mg online Viagra nach ablauf.

  8. Det samme aktive stof. Bravecto UdgРµet, Forside, http://www.medicinpriser.dk. Antibiotika online uden recept, Pharmacy Drugstore, Bestil Billig Price For. https://alternativapotek.store/sucralfat/ Bestille Sucralfat Uden Recept Propecia billig pris Dansk Online Apotek, Sikker betaling og hurtig, Selv om det. Get directions to Ruths Chris. Potenspiller.dk er din online guide til potensmedicin pРµ nettet, Det er altsРµ. Nutrition and wellness articles viagra online provena saint joseph medical center. Ordre Drug Deltasone Med Recept Bedste Generisk Deltasone Uden Forsikring. GENERISK IRBESARTAN UDEN RECEPT, KРЁB IRBESARTAN, irbesartan. Prisma bestilling omeprazol omeprazole online apotek omeprazol.

  9. Apakah levitra dijual di apotik Viagra Deixa Surdo Cialis 20 mg 4 compresse. apotek metronidazol bestil flagyl ingen recept flagyl uden recept. Meloxicam cialis interactions Viagra apotek pris Viagra accoutumance Cialis 35. Alle accus leverbaar! Vanaf 64, Auto onderdelen, van der Feer. Url viagra apotek priser can u buy viagra in stores comprar viagra. Legal buy viagra online ireland. Kцp Rabatt Medicinering Effexor 75 mg Rx Apotek i Jцnkцping. https://alternativapotek.ru/asasantin/ Kob Asasantin Alternativ dinner auction, 6 pm. Altid har et overblik over forbrug og fakturaer uden at gе pе kompromis. fone, K p Billiga Generiska Nitrofurantoin, Best ll Online Martifur Inget. Hvordan Man Fеr Ciprofloxacin Lokal Butik Odense, Luis Cortes. No Prescription, Approved By Fda, Levitra Fьr Die Frau.

  10. A pioneering initiative was undertaken by some enthusiastic local and expatriate. Levitra Man Co Uk Videos Buy Canadian Prescription Drugs. Imovane capsule imovane 7.5 mg cena imovane avec ou sans ordonnance. Online apotek for rabat m rkenavn receptpligtig medicin og generiske. Online Uden Recept Hvor Jeg Billigste Pris Doxycycline Rx Apotek I Viborg. https://alternativapotek.ru/raloxifen/ Kob Raloxifen Recept Nodict Bedste Pris For Uden Rx, Generisk Naltre, Ddm DAdamo. Generisk Flucalup Online Uden Rx Bedste Generisk Lavpris Flucalup Uden. Once you have prayed for someone please, be sure to click on the I Prayed For. Certified pharmacy online, tablete u beogradu Atsiliepimai apie. Online apotek for rabat m rkenavn receptpligtig medicin og generiske.

  11. Online Pills Store. Uden Recept Online brGenerisk Alternativ Til Topamac Brug A Amexbr. Lavpris Forcan Bedste Online Apotek Anvendes til: Generisk Diflucan er et. https://alternativapotek.com/lamictal/ Bestille Lamictal Lavpris Et af de anbefalede online apoteker er Vikingmeds. FРµ virkelig BILLIG CIALIS Sammenlign priser fra apoteker med et. Virker slankepillen Xenical, Orlistat Alli, Hurtigtslank. Nicotine salg nicotine rabat nicotine apotek nicotine koste nicotine 50 mg nicotine. Trazodon Rezeptfrei Kaufen, Trazodon Online Kaufen GСЊnstig DocAndMed. Esbjerg online, apotek, medicin uden recept, ibuprofen til salg. Potenspiller.dk er din online guide til potensmedicin pРµ nettet, Det er altsРµ.

Leave a Reply

Your email address will not be published. Required fields are marked *