473,322 Members | 1,431 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,322 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 4001
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.