Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
bgColor#ccccff
appletviewer -J-Djava.security.manager -Djava.security.policy==policyURL LocalJavaApp

Wiki Markup
Notably, the policy file specified in the argument is ignored when the {{policy.allowSystemProperty}} system property is set to false. Its default value is true. The document \[[Policy 02|AA. Java References#Policy 02]\] discusses writing policy files in depth.  

Risk Assessment

Running Java code without a Security Manager being set means that there is no security at all.

...