Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

Disabling native WebDAV

$
0
0

Hi!

We have the Asp.NET web application where we have implemented the webdav protocol to access to files stored in the database.  To disable the native WebDAV module we added to the web.config the following code:

  <system.webServer>

    <modules>

      <remove name="WebDAVModule" />

    </modules>

    <handlers>

      <remove name="WebDAV" />

    </handlers>

  </system.webServer>

It turned out that this is not sufficient. In order to the all webdav verbs reach the web application we have to use the IIS Manager (the WebDAV Authoring Rules page) to disable the WebDAV feature.

My question is the following: Is it possible to configure the web application entirely in web.config at the application level to disable the WebDAV feature without using the IIS Manager? Or it can be done programmatically in the Application_Start event?

Best regards,

Igor Ilin

--------------

IIS 7.5, Windows 7, Windows Server 2008


Viewing all articles
Browse latest Browse all 780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>