473,396 Members | 1,785 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.

Interview Questions Feb 20, 2006



How to prevent my .NET DLL to be decompiled?

By design .NET embeds rich Meta data inside the executable code using
MSIL.Any one can easily decompile your DLL back using tools like ILDASM
( owned by Microsoft) or Reflector for .NET which is a third party.
Secondly there are many third party tools which make this decompiling
process a click away. So any one can easily look in to your assemblies
and reverse engineer them back in to actual source code and understand
some real good logic which can make easy to crack your application.

The process by which you can stop this reverse engineering is using
"obfuscation". It's a technique which will foil the decompilers.
There are many third parties (XenoCode, Demeanor for .NET) which
provide .NET obfuscation solution. Microsoft includes one that is
Dotfuscator Community Edition with Visual Studio.NET.

Full Interview Questions for .NET and SQL Server
http://www.geocities.com/dotnetinterviews/
Help the community to make job search easier mail your questions to
jo***************@yahoo.co.in
Looking for a onsite job mail your resumes at
jo***************@yahoo.co.in

Feb 20 '06 #1
4 3421
"Jobs" <jo***************@yahoo.co.in> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...


How to prevent my .NET DLL to be decompiled?


Write it in VB6

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Freeware 4 color Gradient Frame? http://www.vbsight.com/GradFrameCTL.htm
Feb 20 '06 #2
On 20 Feb 2006 10:04:34 -0800, "Jobs" <jo***************@yahoo.co.in> wrote:
in <11**********************@o13g2000cwo.googlegroups .com>


How to prevent my .NET DLL to be decompiled?

By design .NET embeds rich Meta data inside the executable code using
MSIL.Any one can easily decompile your DLL back using tools like ILDASM
( owned by Microsoft) or Reflector for .NET which is a third party.
Secondly there are many third party tools which make this decompiling
process a click away. So any one can easily look in to your assemblies
and reverse engineer them back in to actual source code and understand
some real good logic which can make easy to crack your application.


This is by design enabling the entire developer community to unwittingly work
for microsoft.

---
Stefan Berglund
Feb 20 '06 #3
Thus the reason why we remain using VB6 (the other reason is the insanely
large .net framework). If you don't want your work decompiled (like every
other company selling code for profit), stick with VB6, move to C++
(unmanaged), or I suppose Delphi would also be a good choice in this regard,
although I am not familiar with it (I hear it is nice though). If you
absolutely have to use .NET, pick the best obfuscation tool money can buy,
or, try to keep your project an ASP.net (server-side) project.
- Anthony
"Jobs" wrote:


How to prevent my .NET DLL to be decompiled?

By design .NET embeds rich Meta data inside the executable code using
MSIL.Any one can easily decompile your DLL back using tools like ILDASM
( owned by Microsoft) or Reflector for .NET which is a third party.
Secondly there are many third party tools which make this decompiling
process a click away. So any one can easily look in to your assemblies
and reverse engineer them back in to actual source code and understand
some real good logic which can make easy to crack your application.

The process by which you can stop this reverse engineering is using
"obfuscation". It's a technique which will foil the decompilers.
There are many third parties (XenoCode, Demeanor for .NET) which
provide .NET obfuscation solution. Microsoft includes one that is
Dotfuscator Community Edition with Visual Studio.NET.

Full Interview Questions for .NET and SQL Server
http://www.geocities.com/dotnetinterviews/
Help the community to make job search easier mail your questions to
jo***************@yahoo.co.in
Looking for a onsite job mail your resumes at
jo***************@yahoo.co.in

Feb 21 '06 #4
On Mon, 20 Feb 2006 17:40:18 -0800, "=?Utf-8?B?QW50aG9ueQ==?="
<An*****@discussions.microsoft.com> wrote:
Thus the reason why we remain using VB6 (the other reason is the insanely
large .net framework). If you don't want your work decompiled (like every
other company selling code for profit), stick with VB6, move to C++
(unmanaged), or I suppose Delphi would also be a good choice in this regard,
although I am not familiar with it (I hear it is nice though).


Delphi is very nice
- while I am not that fond of 'Non BASIC' syntax, one can do amazing
things with it very easily

- and when you accept a syntax that is infinatelely less obscure than
C or CPP, then it is pretty readable.

The word is that Delphi is in play
- if they came out with a version of VB that gave :-

Message WM_NCMBUTTONDBLCLK( Msg )
...
End Message

I suspect that people would get very interested.


Feb 21 '06 #5

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

Similar topics

1
by: Jobs | last post by:
What is application object ? Application object can used in situation where we want data to be shared across users globally. What's the difference between Cache object and application object...
1
by: softwareengineer2006 | last post by:
All Interview Questions And Answers 10000 Interview Questions And Answers(C,C++,JAVA,DOTNET,Oracle,SAP) I have listed over 10000 interview questions asked in interview/placement test papers for...
0
by: Jobs | last post by:
All answers to the below interview questions are at http://www.geocities.com/dotnetinterviews/ or you can download the complete answer zip file from...
27
by: dis_is_eagle | last post by:
hi....i am preparing for interview...where can i get helpful c interview questions and tips...also,can anybody provide me with a soft copy of the c-faq book...thanx and regards.. eric
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
5
by: ad | last post by:
I want to show the background color of a row in a gridview to different color when the value of a column is greater than 100. How can I do?
0
by: connectrajesh | last post by:
INTERVIEWINFO.NET http://www.interviewinfo.net FREE WEB SITE AND SERVICE FOR JOB SEEKERS /FRESH GRADUATES NO ADVERTISEMENT
0
by: freesoftwarepdfs | last post by:
Ultimate list of Interview question website.....Do not miss it http://www.questpond.com http://msdotnetsupport.blogspot.com/2007/01/net-interview-questions-by-dutt-part-2.html...
0
by: Free PDF | last post by:
..NET , SQL Server interview questions websites.... http://www.questpond.com http://www.geocities.com/dotnetinterviews/...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.