Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I alter Java security settings?
#2

Not that I can pretend to be knowledgeable on Java (because I hate it with a passion :P) but reading through some of the Sun forums it seems that you need to look in your Java install, then in jre/ext/security/ that is where the java.policy file is.

 

To find your java.policy file try:



Code:
$ locate java.policy




 

Or maybe look for the security directory:



Code:
$ locate security | grep ext




 

Hopefully you can find where to put that java.policy file.

 

Then!

 

The suggestion there was to do either grant all permissions (unsecure therefore):



Code:
grant {
permission java.security.AllPermission;
}




 

Or just for the website:



Code:
grant codeBase "http://the.url.here" {
permission java.security.AllPermission;
}




Reply


Messages In This Thread
How do I alter Java security settings? - by znx - 2008-04-01, 11:50 AM
How do I alter Java security settings? - by znx - 2008-04-03, 09:41 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)