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
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: 4523
    
    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.
 
Don't get me started about those stupid light bulbs.
 
subject: Permissions for printing applet
 
Similar Threads
to copy a policy file from server machine to client machine in java
Run applet from remote machine
How to create a trusted applet ?
Run applet from remote machine
to automatically install jre 1.4 plugin