By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,528 Members | 942 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,528 IT Pros & Developers. It's quick & easy.

Protect You source code

P: n/a
I have a question I would like to developp an app in .NET but I would like
to keep my source code secret.
However since anyone can decompile a binary to find the source code
(http://www.remotesoft.com/salamander/) how am i supposed to do ?
I have already used a java decompiler and it's amazing to see that you can
have the source code of any .class so if it works as well for .NET I am a
bit worried.

Jul 21 '05 #1
Share this Question
Share on Google+
4 Replies

P: n/a
I think what you're after is called a "code obfuscator". Have a search on
google for a ".net code obfuscator" and there will be a few links (look at
the sponsored ones too).

HTH,

Trev.
"mosfet" <vs**@caramail.com> wrote in message
news:3f***********************@news.free.fr...
I have a question I would like to developp an app in .NET but I would like
to keep my source code secret.
However since anyone can decompile a binary to find the source code
(http://www.remotesoft.com/salamander/) how am i supposed to do ?
I have already used a java decompiler and it's amazing to see that you can
have the source code of any .class so if it works as well for .NET I am a
bit worried.


Jul 21 '05 #2

P: n/a
Sorry, I sent the previous message too soon:

Look a bit closer on the Remote soft home page
(http://www.remotesoft.com/) - looks like they provide an obfuscator too
(http://www.remotesoft.com/salamander/obfuscator.html).
"mosfet" <vs**@caramail.com> wrote in message
news:3f***********************@news.free.fr...
I have a question I would like to developp an app in .NET but I would like
to keep my source code secret.
However since anyone can decompile a binary to find the source code
(http://www.remotesoft.com/salamander/) how am i supposed to do ?
I have already used a java decompiler and it's amazing to see that you can
have the source code of any .class so if it works as well for .NET I am a
bit worried.


Jul 21 '05 #3

P: n/a
There are various third-party tools called code obfuscators. They rewrite
the intermediate language code (MSIL) so that it is difficult to decompile
to human-readable code. They have different techniques, but generally work
by renaming descriptive variables and method names to generic names. For
example, the code:

Function CalculateYearEndBonus(Employeename as String, Salary as Decimal) as
Decimal
Dim BonusRate as Decimal
...
End Function

Might be rewritten to:

Function A(B as String, C as Decimal) as Decimal
Dim D as Decimal
....
End Function

That way, someone won't be able to tell easily what's going on in the code.
Salamander sells one obfuscator. There's one another, called Dotfuscator
Community Edition, that comes included with Visual Studio Profesisional 2003
and higher:

Obfuscation for .NET -- Dotfuscator by PreEmptive Solutions
http://msdn.microsoft.com/library/de...r/dotf68q6.asp

If you're using a different version of Visual Studio, you can also download
Dotfuscator Community Edition for free from the Preemptive website.

For more information, search groups.google.com in the
microsoft.public.dotnet.* hierarchy.
"mosfet" <vs**@caramail.com> wrote in message
news:3f***********************@news.free.fr...
I have a question I would like to developp an app in .NET but I would like
to keep my source code secret.
However since anyone can decompile a binary to find the source code
(http://www.remotesoft.com/salamander/) how am i supposed to do ?
I have already used a java decompiler and it's amazing to see that you can
have the source code of any .class so if it works as well for .NET I am a
bit worried.


Jul 21 '05 #4

P: 3
Dear mosfet,

I am well aware of the problem you are describing in your letter.
I suggest you to take a look at CliSecure product, an encryption base tool that helps proctet .net apps from being tampered.

You can find it at http://www.secureteam.net
Jun 22 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.