aspose file tools*
The moose likes Security and the fly likes Acess Denied Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Acess Denied Exception" Watch "Acess Denied Exception" New topic
Author

Acess Denied Exception

vineet kumar chaudhry
Ranch Hand

Joined: Apr 02, 2011
Posts: 45
I have two different jars reading the data from file for applet(Both jars have different classes). I have made the "jks" using "jarsigner" after generating key with keytool

Now the problem is

When I run my class in first jar with appletviewer it gives me "access Denied Error" but works fine if I run directly with the html(applet ambedded)

When I rum my class in second jar ,it doesn't read in either cases.

I am not able to make the issue

I don't get why, when I run my class in first jar with appletviewer it gives me "access Denied Error".
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Acess Denied Exception