31 - Starting with Security Manager

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)

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-29(1)

Plugin: Unix

Control ID: bb45ac67149d58a87bba2f4cbf65066b7cc6ce4864179560f26ea4ba7fe5b9ca