aspose file tools*
The moose likes Applets and the fly likes Run exe using Signed Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Run exe using Signed Applet" Watch "Run exe using Signed Applet" New topic
Author

Run exe using Signed Applet

raktim banerjee
Greenhorn

Joined: Feb 13, 2011
Posts: 18
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
Marshal

Joined: Mar 22, 2005
Posts: 41865
    
  63
It is not necessary to change the policy file if the applet is signed - both accomplish the same thing.


Ping & DNS - my free Android networking tools app
raktim banerjee
Greenhorn

Joined: Feb 13, 2011
Posts: 18
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
Marshal

Joined: Mar 22, 2005
Posts: 41865
    
  63
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

Joined: Feb 13, 2011
Posts: 18
Thank you Sir!

I have done it.
It works. Thank you a lot again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Run exe using Signed Applet