-
Jul 21st, 2005, 05:15 PM
#1
Thread Starter
Supreme User
[Delphi]Protecting your application from crackers
Here is something very useful i thought id share with you:
http://www.codeguru.com/forum/showth...ghlight=Delphi
Last edited by NoteMe; Jul 22nd, 2005 at 10:09 AM.
-
Jul 21st, 2005, 11:16 PM
#2
Frenzied Member
Re: Protecting your application from crackers
The link is actually an advertisement for some code protection product, so one has to be careful to believe everything they claim.
I am no expert on this topic, but this is the impression I got from reading about decompiling applications (I’m on .Net apps now).
One can open any exe written in .net with the ILDASM tool that ships for free with the framework. Anyone with some knowledge of MSIL can then see how your application does its job. I even read about some tool that convert the MSIL to any higher-level language such as VB, C#, etc, but unfortunately lost the link.
What I also remember, is that one can use a tool that “encrypt” your code, but from what I understood, it just take your descriptive member names (variables, methods, classes) and replace that with some other unique names, that make it difficult to read.
I would like to hear if there’s anyone that knows of a fail-proof way to secure your code.
-
Jul 21st, 2005, 11:22 PM
#3
Frenzied Member
Re: Protecting your application from crackers
Well, call me StupidInBeijing.....the link I talked about was in my signature!
You can read the whole article, but here's the part I've mentioned:
So if you can use a disassembler to turn the binary format of IL into something readable, would it be possible to convert IL back into the original source code in C# or Visual Basic .NET—to decompile it? Of course the answer is yes, it's possible. But it's a much more complex and error-prone process.
If you're interested in decompilers, check out Anakrino at www.saurik.com/net/exemplar. It takes any .NET executable file and decompiles it into C#—whether it was originally written in C#, Visual Basic .NET, or some other .NET language. I even fed it something I wrote by hand in IL, and it converted it into a compilable C# program that worked!
Believe it or not, you can even use Anakrino to decompile the source code for the methods in the .NET Framework Class Library.
Of course, decompilers set off alarm bells in the minds of many. It's like giving away your source code! And that's exactly why Visual Studio 2003 comes with an obfuscator. Obfuscators scramble the binary IL so that it can't easily be disassembled or decompiled, yet it still runs correctly.
-
Jul 22nd, 2005, 03:16 AM
#4
Thread Starter
Supreme User
Re: Protecting your application from crackers
hehe, you talking to yourself?!
-
Jul 25th, 2005, 03:13 AM
#5
Fanatic Member
Re: [Delphi]Protecting your application from crackers
Unfortunatly, no amount of protection will keep crackers at bay. It's just the nature of software.
-
Jul 25th, 2005, 05:45 AM
#6
Thread Starter
Supreme User
Re: [Delphi]Protecting your application from crackers
Yeah, but why give it to them on a plate?
-
Jul 25th, 2005, 08:25 PM
#7
Frenzied Member
Re: [Delphi]Protecting your application from crackers
Yeah, but why give it to them on a plate?
Because they eat from the floor anyhow...
Do what you can to protect your code and stop flattering yourself making yourself and everyone else believe your code are so wonderfull, it just gotta be stolen.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|