This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 4531
    
    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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Permissions for printing applet