This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Applets and the fly likes Permissions for printing applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Permissions for printing applet" Watch "Permissions for printing applet" New topic
Author

Permissions for printing applet

Happy S Singh
Ranch Hand

Joined: Nov 14, 2011
Posts: 52
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

Joined: May 03, 2008
Posts: 4530
    
    5

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.


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Permissions for printing applet