Hi,
I am coding in an AutoUpdate feature into my application that downloads and updates my application automatically.
Basically, every time my app starts it checks a web address and downloads a text file that lists the current version for download and all the files that need to be downloaded and which one to run first to install it.
If the web current version is greater than the installed app, then it downloads the listed files to a temp dir and then executes the flagged file to install.
Is this an 'OK' way of doing things???
I'm a bit worried that if my web site got hacked and someone managed to figure it all out they could plant some virus files in the download dir, and then anyone running my app will download them and run them.
Or is that a bit paranoid??
I thought of encrypting the first text file that instructs my app what to download and install, to make it harder to attack.
Thanks for any opinions,
Rob D.
I am coding in an AutoUpdate feature into my application that downloads and updates my application automatically.
Basically, every time my app starts it checks a web address and downloads a text file that lists the current version for download and all the files that need to be downloaded and which one to run first to install it.
If the web current version is greater than the installed app, then it downloads the listed files to a temp dir and then executes the flagged file to install.
Is this an 'OK' way of doing things???
I'm a bit worried that if my web site got hacked and someone managed to figure it all out they could plant some virus files in the download dir, and then anyone running my app will download them and run them.
Or is that a bit paranoid??
I thought of encrypting the first text file that instructs my app what to download and install, to make it harder to attack.
Thanks for any opinions,
Rob D.