We are now creating our own Windows application (MFC) that will load some data into our web application. The Windows application will allow the user to log in and after that periodically will upload some data to our web application. Download will be via a simple POST HTTP address to our web application. I have a problem: how can we guarantee that the download really came from our application, and not because of curls or something like that. We are probably looking at some kind of public / private key encryption. But I'm not sure if we can somehow simply embed the public key in our win app executable file and do with it. Or will it be too easy to extract and use this public key outside of our application?
In any case, we create both sides (client and server), so almost everything is an option, but it should work through HTTP (S). However, we do not control the execution environment of the win (client) application, and the user who runs the application on his system is the only thing that can win by playing the system.
source
share