Tuesday, June 12, 2007

HTTP DELETE on IIS

I came across a requirement to delete files from the web application folder hosted on the IIS in intranet environment.

By default IIS does not allow to delete files from the web application folder through HTTP DELETE request.

To enable delete, there must be "modify" permission given to the user account who has access to web application. By default "IUSR_machinename" windows account has anonymous access to web application in IIS. You must have to give "modify" permission to this acccount on the web application folder.

That's it !!!!! You are ready to send HTTP DELETE requests.