Windows 10
A Microsoft operating system that runs on personal computers and tablets.
7,529 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I blocked HEAD,TRACE in request filtering, but it keeps appearing on the allowed methods list.
It works functionally but does not disappear from the allow method. I don't know why.
Hello
Thank you for your question and reaching out.
You should continue to retain a request filtering rule with the TRACE verb banned in order to effectively stop TRACE requests.
IIS receives an OPTIONS request from the curl command, and the ProtocolSupportModule creates the response message.
Sample web.config
<requestFiltering>
<verbs allowUnlisted="false">
<clear/>
<add verb="GET" allowed="true" />
<add verb="HEAD" allowed="true" />
<add verb="POST" allowed="true" />
</verbs>
</requestFiltering>
--If the reply is helpful, please Upvote and Accept as answer--