To secure Apache Tomcat server from malicious attacks, it is necessary to hide its
version information.
Procedure
-
Create a folder under
<TomcatPath>\lib\org\apache\catalina\util.
-
Create a file ServerInfo.properties.
-
Add a property in the file and mask the property
server.info
:
server.info=Apache Tomcat Version XYZ
-
Save the file.