Is there a way to prevent directory traversal attacks (../ pattern) at the JRE level?
I’m looking for a way to prevent directory traversal attacks, specifically those involving the ../ pattern in file paths, at the Java Runtime Environment (JRE) level. My goal is to ensure that such attacks are mitigated without relying on explicit path validation and sanitization checks in my Java code.