Answered How to disable webdav in SharePoint 2010?

  • 01 Mei 2012 17:08
     
     

    Hello All,

    I have search the forums, but have not found a simple explanation on how to disable webdav. Is there an option in Central Admin, a service on the server, or a file that I have to modify?

    • How exactly do I disable Webdav in SharePoint 2010?
    • Will disabling webdav stop SharePoint Designer or SharePoint's web services from working?
    Thanks in advanced for any help.

Semua Balasan

  • 01 Mei 2012 17:25
     
     Jawab

    SharePoint provides its own WebDAV implementation using the Stsfilt.dll ISAPI filter that is installed with both Windows SharePoint Services and SharePoint Portal
    Server. Enabling or disabling the WebDAV extension in IIS 6.0 has no effect on SharePoint functionality. By default, the IIS WebDAV extension is disabled.

    By blocking specific DAV verbs at the network level (through a firewall) or by installing URLScan, you will break the SharePoint DAV implementation. Make sure that
    the damage this will cause is worth whatever benefit you hope to gain.
     

    source


    LinkedIn Profile

    • Ditandai sebagai Jawaban oleh AJW1988 03 Mei 2012 17:54
    •  
  • 01 Mei 2012 18:12
     
     

    I do not think disabling webdav will not stop sharepoints web services from working. I wouldn't be surprised if SPD kept working too, I think SPD communicates mostly with Author.dll.

    If you want to disable SPD there are multiple ways to do this. If restricting SPD to everyone but site collection admins is enough, you can do that through site settings page -> SharePoint Designer settings on the site collection root.

    If you want to disable SPD for everyone there are ways to customize the site definitions, but be very careful in there because your modifying internal files on the FS.

    Disabling web services I think can be done by customizing the web.config inside the _vti_bin directory, but I doubt this is supported either.

    Why do you want to disable web services?


    Please mark my response as an answer if appropriate.
    Learn.SharePoint.com

  • 01 Mei 2012 20:10
     
     

    I do not think disabling webdav will not stop sharepoints web services from working. I wouldn't be surprised if SPD kept working too, I think SPD communicates mostly with Author.dll.

    If you want to disable SPD there are multiple ways to do this. If restricting SPD to everyone but site collection admins is enough, you can do that through site settings page -> SharePoint Designer settings on the site collection root.

    If you want to disable SPD for everyone there are ways to customize the site definitions, but be very careful in there because your modifying internal files on the FS.

    Disabling web services I think can be done by customizing the web.config inside the _vti_bin directory, but I doubt this is supported either.

    Why do you want to disable web services?


    Please mark my response as an answer if appropriate.
    Learn.SharePoint.com

    I am still trying to resolve the question I posted a week ago here: http://social.technet.microsoft.com/Forums/en-US/sharepoint2010general/thread/4b99f812-f831-4265-9d58-bb2f90c4ad35

    It was suggested that I have to disable webdav, however i don't know exactly "how" to disable it. Also, I do not want to stop SharePoint Designer or SP Web Services from working. I actually want to make sure they continue working as they are important pieces to my SharePoint toolkit.

    Based on what HeToc said above "blocking specific DAV verbs" is the only way to disable WebDav?

    As I have mentioned before, THANK YOU for your feedback.

  • 03 Mei 2012 17:54
     
     

    Ok. So I will assume blocking DAV verbs at the network level is the only way to block Web Dav and in turn the only way to solve my other issue that I linked to earlier.

    Thanks everyone for your feedback.

  • 05 Nopember 2012 0:05
     
     

    Hi AJW1988,

    Were you able to block this at the network level ? If so, Can you please let me know how you accomplished this ? I have the exact same requirement

    thanks