Sending an anonymous HTTP PUT request to a WebDAV directory fails


Consider the following scenario.  You have a web site configured to use the WebDAV functionality of Internet Information Services (IIS) 7.0 or 7.5.  You configure the website to use Anonymous authentication, and you configure the WebDAV Authoring Rules to grant Write access to all users.  When you attempt to copy or move a file to the WebDAV directory by sending an HTTP PUT command, the operation fails.  You may see an error message similar to the following, depending on the HTTP client you are using:


An error occurred copying some or all of the selected files.


HTTP 401 - Unauthorized



This behavior is by design.  Beginning in IIS 7.0, anonymously writing to a WebDAV publishing directory is not allowed.  Specifically, the PUT, MKCOL, PROPPATCH, COPY, MOVE, DELETE, and WebDAV-based GET requests all require authentication.



To allow users to write files to a WebDAV publishing directory, you must configure the directory to use an authentication method other than Anonymous authentication.  For more information on configuring authentication types in IIS 7.0 and 7.5, please see the following document:

Configuring Authentication in IIS 7


More Information

For more information on WebDAV in IIS 7.0 and above, please see the following document:

What's New for WebDAV and IIS 7.0


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Article ID: 2021641 - Last Review: 03/19/2010 22:32:00 - Revision: 4.0

Microsoft Internet Information Services 7.0, Microsoft Internet Information Services 7.5

  • KB2021641