Re: Decompiling C#?!?!? Where is the privacy?
- From: "Richard Grimes" <richardg@xxxxxxxx>
- Date: Mon, 19 Dec 2005 10:30:51 -0000
Steven Nagy wrote:
> On this topic, my boss reckons he is gonna rewrite something he did in
> C# back as a managed C++ DLL because he thinks that he can protect the
> IP that way.
Ummm, why choose *managed* C++? The code will *still* be compiled to IL
which can be decompiled. Reflector will decompile IL to managed C++, or
to make it easier to read, C#. So compiling to managed C++ has no effect
whatsoever on protecting IP.
If your bosss said compile as unmanaged C++ then I might understand the
sentiment. However, you can still disassemble the code to x86
assembler...
No one will want to decompile *all* of your code, there is no point
because they may as well just sell your app under their own name.
Instead, the IP thieves will want to get the secrets of your special
algorithm. That will reduce considerably the amount of code that they
will need to analyse. At that point it *might* be economic for them to
analyse x86 code.
The point about decompiling is that it reduces the time that it takes
people to learn about your code. Moving to unmanaged code will merely
lengthen the amount of time, it will not remove it completely. (Its like
cryptography: you apply enough protection to make it uneconomic to break
the code.)
> But from the mass amounts of response in this thread alone, it sounds
> like that even his DLL will be reverse engineerable.
> If so, can someone give me an indicator of how, tools, or even a
> supporting topic from MS or anywhere reputable?
>
> (You see, I don't know much C++ and I don't want him to change the DLL
> so I need you to help me convince him to leave it as C# !!!!)
The only solution is to patent the code and then sue anyone who steals
it.
Richard
--
Fusion Tutorial: http://www.grimes.demon.co.uk/workshops/fusionWS.htm
Security Tutorial:
http://www.grimes.demon.co.uk/workshops/securityWS.htm
.
- References:
- Re: Decompiling C#?!?!? Where is the privacy?
- From: Jesse McGrew
- Re: Decompiling C#?!?!? Where is the privacy?
- From: Steven Nagy
- Re: Decompiling C#?!?!? Where is the privacy?
- Prev by Date: Re: Is there a C# equivilent to the pointer to member operator?
- Next by Date: Re: How to load a web user control into a DataGrid cell ?
- Previous by thread: Re: Decompiling C#?!?!? Where is the privacy?
- Next by thread: Re: Decompiling C#?!?!? Where is the privacy?
- Index(es):
Relevant Pages
|