Remove .java And .jpp Files
An XCCDF Rule
Description
.java
and .jpp
files should not exist and should be removed
from the web server.
Rationale
From the source code in a .java or a .jpp file, the Java compiler produces a binary file with an extension of .class. The .java or .jpp file would, therefore, reveal sensitive information regarding an application's logic and permissions to resources on the server. By contrast, the .class file, because it is intended to be machine independent, is referred to as bytecode. Bytecodes are run by the Java Virtual Machine (JVM), or the Java Runtime Environment (JRE), via a browser configured to permit Java code.
- ID
- xccdf_org.ssgproject.content_rule_httpd_limit_java_files
- Severity
- Low
- References
- Updated