File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes java security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "java security" Watch "java security" New topic

java security

Navneet Pathak

Joined: Apr 11, 2010
Posts: 5

what will happen if i create a different policy file and change it before the jvm starts?
Lester Burnham

Joined: Oct 14, 2008
Posts: 1337
That depends on whether or not the JVM is set up to use the policy file. If you use the "java" command to start a JVM from the command line, then no policy file is used at all. If you are, in fact, starting the JVM so that the policy file you wrote is used, then it will be applied.
I agree. Here's the link:
subject: java security
It's not a secret anymore!