• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem loading jar into Applet  RSS feed

Michael Veeck
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good day folks.

The scenario I try to implement is the following: I want to start an applet A (a small one) which then loads another jar B (a big one) and starts it.

The code of applet A looks like this:

Now this works quite well, as long as B doesnt do any potential unsecure stuff like accessing System.Properties. If B tries that I get an java.security.AccessControlException: access denied!

This behaviour is normal if B isn't signed, but both jars A and B are signed with the same signature, so somehow the signature of B isnt looked at by the JavaVM.

Anyone knows why the signature of B is disregarded?

Thanks in advance
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!