This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Acess Denied Exception" Watch "Acess Denied Exception" New topic

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".
I agree. Here's the link:
subject: Acess Denied Exception
Similar Threads
Using JDBC.ODBC Driver with an applet
Getting error while displaying tif image in applet through browser.
Invalidating certificate principals...
Where to store Policy file in Windows 98