Information
The server.xml contains servlet definitions and configurations. It is recommended that access to this file has the proper permissions to properly protect from unauthorized changes.
Restricting access to this file will prevent local users from maliciously or inadvertently altering s security policy.
Solution
To restrict access to server.xml follow the below mentioned steps:
1. Set the ownership of the $JETTY_HOME/..../server.xml to _admin:.
2. Remove read, write, and execute permissions for the world.
3. Remove write permissions for the group.
# chown _admin: $JETTY_HOME/....../server.xml # chmod g-w,o-rwx $JETTY_HOME/...../server.xml