Hi,
I have a web application running on an apache server. It has a download link for downloading a file. My requirement is to download this file without asking the user where to download. This file is kind of an executable. I also want this file to execute after download. This executable will generate some binary files. After the creation, I want these files to be uploaded back to the server. All this should happen on a single click on the website.
I know this will be kind of a force download and execute and will be a security threat.
To allow this, I am thinking of signing my executable file with some certificate, so that when the user download this executable for the first time, he will shown kind of a warning dialog (as shown in case of Java Web Start). For future downloads, this warning dialog should not be shown. Basically I am thinking of providing this feature as Java Web Start provides.
Is this possible?
If yes, then how to execute this executable once download and how to upload the binaries back to the server.
Thanks,
Charanjeet