sharkyenergy
sharkyenergy

Reputation: 4173

send passkey to site from vb.net application

i have the following situation:

i have an application that loads up an URL. i have to verify that the URL has been loaded by the application and not a browser... and it has to be MY application, not just any application.. (so browsercheck in the php page is not an option) to do so i was thinking of something like this: app loads a url, recives a key, processes that key and sends it back processed. the php page checks if it has been processed correctly and if it has then it is ok.

problem is: my vb.net application can be decompiled and within minutes you know how to validate the key. i need something that is secure. any tipps on how to do this? thaks

Upvotes: 0

Views: 73

Answers (1)

Nickolay Olshevsky
Nickolay Olshevsky

Reputation: 14160

You should also do this over the SSL/TLS, since traffic can be intercepted. And, there is no any 100% solution on this scenario. You can obfuscate code, do not use key directly but build it from parts, masking it, whatever else. But this will just take some more time to decompile.

Upvotes: 1

Related Questions