Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

Resolving "Unsafe HTTP request method" to prevent false positives

    • Updated:
    • 7 Aug 2019
    • Product/Version:
    • Deep Security 10.0
    • Deep Security 10.1
    • Deep Security 11.0
    • Deep Security 9.6
    • Platform:
Summary

This article explains how to disable some unwanted HTTP request methods, which can be helpful to avoid false positives.

Details
Public

To disable certain HTTP request method:

  1. Look for the web.xml file located under [DSM installation folder]\webclient\webapps\ROOT\WEB-INF\web.xml
  2. Edit the web.xml file. For example, if you want to disable the method HEAD and OPTIONS, add the following code:
    <security-constraint> 
        <web-resource-collection> 
            <web-resource-name><strong>restricted methods</strong></web-resource-name> 
            <url-pattern>/*</url-pattern> 
            <http-method>HEAD</http-method>
            <http-method>OPTIONS</http-method> 
        </web-resource-collection> 
        <auth-constraint /> 
    </security-constraint>
  3. Restart the web service.

After adding the configuration, the result by HEAD request should now be forbidden.
HTTP forbidden

Premium
Internal
Rating:
Category:
Troubleshoot
Solution Id:
000137390
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.