tags:

views:

88

answers:

2

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?)

+1  A: 

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
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.
Tom Brito
+1  A: 

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
Yep, and there are also other open source jvm implementations like gcj.
james