473,403 Members | 2,183 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,403 software developers and data experts.

asp.net .dll code protection

I often write some .dll component for other people. Because of CLR, I often
find easily access to all source code of my .DLL file by using some kind of
reflector.

Is there an easy to protect my .NET .DLL class source code?

regards,

Guoqi Zheng
http://www.ureader.com
Mar 22 '06 #1
5 1357
'Guoqi,
There must be at least a dozen obfuscator products in the marketplace now.
One of them, "Dotfuscator" ( I think its a "Community Edition") ships with
Visual Studio.Net, so you should already have it.

I'd suggest starting with that.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"guoqi zheng" wrote:
I often write some .dll component for other people. Because of CLR, I often
find easily access to all source code of my .DLL file by using some kind of
reflector.

Is there an easy to protect my .NET .DLL class source code?

regards,

Guoqi Zheng
http://www.ureader.com

Mar 23 '06 #2
There are two things you can do - one is to obfuscate it and hence make the
reversed .NET code almost unreadable.

The other is to use ngen.exe and compile the assembly to native code - in
which case it is converted to binary. The drawback is that ngen targets the
native code to the processor architecture that you are running it on - so you
might lose out on processor-specific enhancements of .NET JIT compiler and
also the code wouldn't work on a different processor architecture (such as
64-bit).

Regards
Pandurang

--
blog: www.thinkingMS.com/pandurang
"guoqi zheng" wrote:
I often write some .dll component for other people. Because of CLR, I often
find easily access to all source code of my .DLL file by using some kind of
reflector.

Is there an easy to protect my .NET .DLL class source code?

regards,

Guoqi Zheng
http://www.ureader.com

Mar 23 '06 #3
NGen is no good in code protection, as it still requires the original
(unprotected) assemlies to be present. Our salamander suite offers a
series of products, including obfuscator, protector and native compiler
for code protection and deployment without installing the .NET
Framework.

Huihong
http://www.remotesoft.com

Pandurang Nayak (nospam) wrote:
There are two things you can do - one is to obfuscate it and hence make the
reversed .NET code almost unreadable.

The other is to use ngen.exe and compile the assembly to native code - in
which case it is converted to binary. The drawback is that ngen targets the
native code to the processor architecture that you are running it on - so you
might lose out on processor-specific enhancements of .NET JIT compiler and
also the code wouldn't work on a different processor architecture (such as
64-bit).

Regards
Pandurang

--
blog: www.thinkingMS.com/pandurang
"guoqi zheng" wrote:
I often write some .dll component for other people. Because of CLR, I often
find easily access to all source code of my .DLL file by using some kind of
reflector.

Is there an easy to protect my .NET .DLL class source code?

regards,

Guoqi Zheng
http://www.ureader.com


Mar 23 '06 #4
You can use the obfuscator that's built into ASP.NET 1.x and above, or you
could use one of these 3rd party obfuscators which generally claim to be
better:
http://www.lesser-software.com/ilobf.htm
http://www.junglecreatures.com/DesktopDefault.aspx
http://www.9rays.net/cgi-bin/compone...i?act=1&cid=86
http://www.remotesoft.com/salamander/obfuscator.html
http://www.semdesigns.com/products/o...bfuscator.html
http://www.wiseowl.com/products/products.aspx
http://www.abderaware.com/WhitePapers/Obfuscator.htm

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"guoqi zheng" <no@sorry.com> wrote in message
news:e1******************************@ureader.com. ..
I often write some .dll component for other people. Because of CLR, I often
find easily access to all source code of my .DLL file by using some kind
of
reflector.

Is there an easy to protect my .NET .DLL class source code?

regards,

Guoqi Zheng
http://www.ureader.com

Mar 23 '06 #5
free for use

http://www.aspose.com/Products/Aspose.Obfuscator/

"guoqi zheng" <no@sorry.com> wrote in message news:e1******************************@ureader.com. ..
I often write some .dll component for other people. Because of CLR, I often
find easily access to all source code of my .DLL file by using some kind of
reflector.

Is there an easy to protect my .NET .DLL class source code?

regards,

Guoqi Zheng
http://www.ureader.com

Mar 23 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: dam | last post by:
Hi, since there are tools that can decompile assemblies and show ENTIRE SOURCE CODE (!?) is there any way for developers to protect their work ? Or, is famoues .NET framework just for...
6
by: YK | last post by:
All, What is the best way to protect IL code? --------------------------------------------------- Typical scenario: Visual Studio .NET 2003 includes Dotfuscator Community Edition, which...
15
by: Enzo | last post by:
Hi Ng, It's possible to protect the source code of a js file? With PHP? Thanks in advance! Enzo
7
by: Boni | last post by:
Dear all, in order to protect my assembly component from decompilation I implemented following schema: I created mixed mode C++ project wich has managed cProxy class and unmanaged cMemLoader....
28
by: Noone Here | last post by:
AIUI, it was not all that long ago when the threat to personal users, was attachments that when executed compromised machines with keyloggers, trojans, etc. Now it seems that the big problem is...
14
by: Usman | last post by:
Hi I'm working on an application that contains classes for licensing, authentication etc, including all the algorithms of encryption/decryption etc. I wanted to secure this code, but after...
64
by: Bayazee | last post by:
hi can we hide a python code ? if i want to write a commercial software can i hide my source code from users access ? we can conver it to pyc but this file can decompiled ... so ...!! do you...
16
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I protect my javascript code? ----------------------------------------------------------------------- ...
22
by: flit | last post by:
Hello All, I have a hard question, every time I look for this answer its get out from the technical domain and goes on in the moral/social domain. First, I live in third world with bad gov., bad...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.