Skip to main content Skip to complementary content

Masking the Jetty version

To secure the Jetty server from malicious attacks, it is necessary to hide its version information.

Procedure

  1. Go to the etc directory and open the jetty.xml file to edit it.
  2. For the class org.eclipse.jetty.server.Server, add:
    <Set name="sendServerVersion">false</Set>

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!