Disable HTTP methods

We can block the use of HTTP methods to request local or remote resources to reduce security vulnerability.

Modify the WebSEAL configuration file to disable specific HTTP methods.

By default, WebSEAL disables the TRACE, PUT, DELETE, CONNECT methods. The default values for these configuration entries are as follows:

[server]
http-method-disabled-local  = TRACE,PUT,DELETE,CONNECT
http-method-disabled-remote = TRACE,PUT,DELETE,CONNECT

We can enable a blocked method by removing the method name from these two entries in the WebSEAL configuration file.

To enable all HTTP methods for local responses, set the following entry:

To enable all HTTP methods for junctioned responses, set the following entry:

Parent topic: Web server security configuration

Related concepts

Related tasks