Shareware authors: Don't embed your password in your code

Sat 08 July 2006

tags: DotNet

So I decided to register a piece of shareware, but when I went to the publisher's site, their domain had expired. Well, thinks I, I reckon that's a situation for which "cracking" the protection is reasonable. So I open the assembly in Reflector and...

So this is what I want to tell the shareware authors of the world: don't put your machine name in the code as a special debugging case and, really, really don't put the IP address, username, and password of your host in a utility function.