Skip to main content Skip to complementary content
Close announcements banner

Masking Apache Tomcat version

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

Procedure

  1. Create a folder under <TomcatPath>\lib\org\apache\catalina\util.
  2. Create a file ServerInfo.properties.
  3. Add a property in the file and mask the property server.info:

    server.info=Apache Tomcat Version XYZ

  4. Save the file.

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!