Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Security > Applet Security
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1693 of 1838
Post > Topic >>

Applet Security

by TQIS Jim <jschueler@[EMAIL PROTECTED] > May 1, 2007 at 09:02 AM

I distribute a signed applet to at least 100 users.  Until recently,
as long as users agreed to the "confirm trusted applet", there was no
problem.

As of Java SE 6, the users are no longer prompted about the Trusted
Applet.  The applet simply throws the following error:
  java.security.AccessControlException: access denied
(java.awt.AWTPermission accessClipboard)

I tried configuring my java.policy file in order to tackle this
problem.

  1. I can fix the problem by adding permissions to the default grant
declaration in my local java.policy file
  2. Neither the signedBy or codeBase qualifiers seem to work in my
grant declarations
  3. My users will not be very happy if they have to manually edit
this config file in order to use our application.

In the course of my searches, I found many effusive discussions by Sun
engineers about this architecture, but no practical approach on how to
proceed.  Has anyone successfully deployed an applet that manages
these security restrictions or is Sun finally killing the Java applet?

 -Jim
 




 2 Posts in Topic:
Applet Security
TQIS Jim <jschueler@[E  2007-05-01 09:02:06 
Re: Applet Security
"Andrew Thompson&quo  2007-05-01 22:28:21 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 16:07:24 CST 2008.