This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler 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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Permissions for printing applet" Watch "Permissions for printing applet" New topic

Permissions for printing applet

Happy S Singh
Ranch Hand

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

Joined: May 03, 2008
Posts: 5098

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:
subject: Permissions for printing applet
It's not a secret anymore!