473,396 Members | 1,923 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Protect You source code

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
4 4007
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
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
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
mikep
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: toufik toufik | last post by:
Hi, Is it possible to hide a source code PHP in order to protect it, I mean, I'm developpind a web solution for customers and I don't like that the customer or the host see my code. Thanks.
6
by: Daylor | last post by:
how can i protect my code from decompile ?
29
by: Frank Millman | last post by:
Hi all I am writing a multi-user accounting/business system. Data is stored in a database (PostgreSQL on Linux, SQL Server on Windows). I have written a Python program to run on the client,...
6
by: Bill | last post by:
Hey, is it possible to protect ASP code in some way? Can it be compiled, or otherwise protect the source somehow? Thanks, -Bill.
3
by: Narlen | last post by:
Hi there, I don't know much about web design but I proudly managed to password protect a page on my site. Later I realized that everyone looking at the source in any web browser can see the...
2
by: weixiang | last post by:
Hi, After compiling with C#, the target exe file can still be reverse-compiled by ildasm. Is there someway to protect code from that method? I already used strong-name in my module. Thank...
15
by: Fady Anwar | last post by:
Hi while browsing the net i noticed that there is sites publishing some software that claim that it can decompile .net applications i didn't bleave it in fact but after trying it i was surprised...
3
by: yservel | last post by:
Hi everybody. I was just wondering how did editors were protecting their source code from decompilers and reverse engeneering. I heard one method of source code protection was by obfuscation: ...
7
by: --== Alain ==-- | last post by:
Hi, Using the .NET reflector tool, i know that a DLL or EXE developed in ..NET platform can be decompiled and therefore code is available for all. I would like to know if exist a way how to...
4
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I protect my javascript code? ----------------------------------------------------------------------- ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.