I am writing a container infrastructure that can dynamically deploy a Jar file containing classes developed by the user in the container, and then use the web interface to execute specific classes from the Jar file.
Everything else is well established, including checks. However, you only need to allow access to certain JDK classes and other libraries from a user-developed class. It is clear that this is due to the fact that the container will need to ensure that someone (intentionally or otherwise) finishes work with a piece of Java code, which leads to "bad" behavior.
As a rule, I find material on Google on almost all topics. In this case, I just could not: (
source
share