02-03-2013, 02:02 AM
There is only one way to protect a binary from being shared to unwanted people. And thats using the strongest protector possible to pack your executable. I personally use a protector that only one person in the entire world has been known to unpack. Sending packets to server as HateMe describes is easy to bypass as well. As all you would have to do is just jump over that entire instruction. This is why executable protectors exist in the first place. You can add all the checks you want in your code, even send triple DES encrypted packets to authenticate with a server. Tho all of them are equally easily bypassed if your executable is not protected. Adding them checks into your code, and distributing your application without protecting it. Is essentially the same as giving out the source code to hackers. Worry about a protector first, then you can code in your own checks later. As once packed you cant alter the programs byte instructions without unpacking it, if you can unpack it.
