Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Permissions for printing applet

 
Happy S Singh
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to pront applet ,There are two ways 1) signing applet 2) add "permission java.lang.RuntimePermission "queuePrintJob";" in java.policy file

I want to go with second option. My question is where should I add java.policy file?..on client machine or server? on server I can add it in startup script but if on client machine then how?
 
Darryl Burke
Bartender
Posts: 5126
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you can't add it on the client machine, then you have to sign the Applet.

The security policy wouldn't make any sense if things were otherwise.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic