View Single Post
  #2 (permalink)  
Old 01-09-2010, 07:34 PM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by schimanski View Post
I think it is not save as the souce-code variety.
If you are optimised compiling then I don't think compiling it into the source is safe unless you are also using an obfuscator that can obfuscate literal strings and numbers as well as code. It is relatively easy to run an exe through ILDASM to get IL code or Reflector to get C# code (I've done both!), modify the strings and then reassemble or recompile to get a new app. With the source available you may as well just hack out the IMEI checking anyway so it would run anywhere.

I would think that having a small file containing the IMEI encrypted is just as secure (or insecure) as what you are now doing. In one case the IMEI itself is compiled into the source, in the other it is the encryption key compiled into the source.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote