0

In another discussion, someone say something about run the java code on its own jvm, which ignores SecurityManager.

Is it possible? (and as easy as saying?)

Community
  • 1
  • 1
The Student
  • 27,520
  • 68
  • 161
  • 264

2 Answers2

1

Google "java security policy" for directions on setting up the security policy for your own jvm. You can change the rules about which classes and methods are restricted. It doesn't "ignore" the SecurityManager, it allows you to modify the rules.

PanCrit
  • 2,688
  • 1
  • 18
  • 16
  • but it will not ignore if I implement my own hard coded policy, right? (I mean, by making my SecurityManager and AccessControl). The final security policy is the intersection of the internal policies and the user's policy file policies. – The Student Mar 25 '10 at 20:14
1

Yes it is possible. You can download a JVM open source implementation, modify it to ignore the security manager and build it. But I think this is not an easy task. This sun forum may help you

Enrique
  • 9,920
  • 7
  • 47
  • 59