• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Run exe using Signed Applet

 
raktim banerjee
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?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • 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: 42968
73
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic