• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java security

 
Navneet Pathak
Greenhorn
Posts: 5
Hibernate Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what will happen if i create a different policy file and change it before the jvm starts?
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic