File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion 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: 55
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: 4664
    
    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