Is there anyone familiar with PHP and JAVA? Does TOMCAT have an open_basedir similar to PHP?

in PHP, you can use open_basedir in the configuration file of apache to restrict the disk access path of PHP programs, such as restricting access to the home directory of the website and forbidding access to files outside the home directory of the website, so as to ensure the security of the server. I looked up a lot of information and found that there doesn"t seem to be a similar solution in JAVA.


tomcat's Security manager learn about


what I've seen, but I can't find a way to limit the disk path

.
Menu