Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Run exe using Signed Applet

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Sir!

I had been trying to run executable file encryption.exe in client side that is placed in the client's computer, using signed applet. I checked this:http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html

I have done step 1 to 6. But I am not able to understand :

7: Create the Policy File



There is no exact procedure described to use policytool. The signed applet is running in applet viewer. I want to run the applet in browser without involving the end user in the following steps manually:


Is there any way to check the signature without involving the end user?
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is not necessary to change the policy file if the applet is signed - both accomplish the same thing.
 
raktim banerjee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so if the applet is signed will it work on the client side simply without doing anything in the client side extra? Is it necessary to send the certificate to the client? or the end user will get the certificate automatically?
 
Ulf Dittmer
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

so if the applet is signed will it work on the client side simply without doing anything in the client side extra?


Yes

or the end user will get the certificate automatically?


Yes

The only thing you may have to do is to run the code as privileged code. See HowCanAnAppletReadFilesOnTheLocalFileSystem for how to do that.
 
raktim banerjee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Sir!

I have done it.
It works. Thank you a lot again.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic