1. Home
  2. Security Hardening
  3. TNS Best Practices Jetty 9 V1.0.0
  4. Restrict access to logging.properties – mode

Restrict access to logging.properties – mode

Details

logging.properties specifies the logging configuration. 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 logging.properties:
1. Set the ownership of the $JETTY_HOME/…../logging.properties to _admin:.
2. Remove read, write, and execute permissions for the world.
3. Remove write permissions for the group.
# chown _admin: $JETTY_HOME/…../logging.properties # chmod g-w,o-rwx $JETTY_HOME/…../logging.properties

This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles