Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

java policies

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
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
 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a link to the keytool docs:
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/keytool.html
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.
David
 
Getting married means "We're in love, so let's tell the police!" - and invite this tiny ad to the wedding:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic