Information
Configure application to run in a sandbox using the Security Manager. The Security Manager restricts what classes applications can access thus protecting the server from mistakes, Trojans, and malicious code.
By running Jetty with the Security Manager, applications are run in a sandbox which can prevent untrusted code from accessing files on the file system.
Solution
The security policies implemented by the Java SecurityManager are configured in the $JETTY_HOME/conf/JETTY.policy file. Once configured the JETTY.policy file for use with a SecurityManager, can be started with a SecurityManager in place by using the --security option:
$ $JETTY_HOMEJETTY.sh start -security (Unix) C:> %JETTY_HOME%binJETTY start -security (Windows)