File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes java policies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "java policies" Watch "java policies" New topic

java policies

arun iyer

Joined: Nov 29, 2000
Posts: 28
i have witten an applet which executes an exe file fromt he client's hard disk. It works fine with appletviewer but does not work in a browser. I would like to know how and in what manner i can allow the applet to run the exe file. I would like to know how to make certificate, if required.

arun iyer
David Freels
Ranch Hand

Joined: Feb 01, 2001
Posts: 102
Here is a link to the keytool docs:
This is used to make a personally signed key. Most users will not accept it, but it will allow you to test your applet. After that you will need to purchase a certificate from Verisign or one of their competitors. This is very expensive to maintain as the certificate expires. Another approach is to use the java plug-in and have the user modify the local java.policy file.
Hope this helps.
I agree. Here's the link:
subject: java policies
It's not a secret anymore!