473,386 Members | 1,969 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,386 software developers and data experts.

How to secure my DLLs

Hi All

I am developing a web application in .Net technology. Usually, I create a
DLL for all of my modules to protect the logics. And it is possible to
decompile the DLL.
How do I protect DLL created using VISUAL STUDIO.NET 2002. I want to secure
component design. Give me some professional techniques to secure the codes.
Any 3rd party software must not be able to decompile it.
It is an essential part of my programming stuff. Please give solution.

Thanks and Regards

Kelly
Jul 21 '05 #1
5 2341
You can obfuscate your assemblies so they cannot be easily decompiled.
Visual Studio 2003 has a basic built in obfuscator, but for 2002 you'll need
a 3rd party solution.

Here's more information on obfuscators:
http://www.abderaware.com/WhitePapers/Obfuscator.htm
http://www.preemptive.com/dotfuscator/index.html
http://www.devx.com/SummitDays/Article/11351
http://www.lesser-software.com/ilobf.htm

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Kelly G." <no*@moreply.com> wrote in message
news:Os****************@TK2MSFTNGP10.phx.gbl...
Hi All

I am developing a web application in .Net technology. Usually, I create a
DLL for all of my modules to protect the logics. And it is possible to
decompile the DLL.
How do I protect DLL created using VISUAL STUDIO.NET 2002. I want to secure component design. Give me some professional techniques to secure the codes. Any 3rd party software must not be able to decompile it.
It is an essential part of my programming stuff. Please give solution.

Thanks and Regards

Kelly

Jul 21 '05 #2
Kelly,

using intermediate code is has a great many advantages and the clr should be
able to read the intermediate code as is.
For that reason if you need to hide your business logic you can use tools
like Dotfuscator www.preemptive.com
using such tools dont make it impossible to decompile... just a bit harder.
In my experience
1. you can fudge the control flow to an extent
2. you can use string encryption
3. you can use renaming (i prefer renaming to unprintable characters)

once you fudge your assembly.
..NET Reflector: http://aisto.com/roeder/dotnet/
MSIL Disassembler:
http://msdn.microsoft.com/library/de...deployment.asp

download them and loaded up your dotfuscatored assembly and see what the
output is like. then you can keep trying various aspects of dotfuscator and
see how they work.

HTH

--
Regards,

HD

"Kelly G." <no*@moreply.com> wrote in message
news:Os****************@TK2MSFTNGP10.phx.gbl...
Hi All

I am developing a web application in .Net technology. Usually, I create a
DLL for all of my modules to protect the logics. And it is possible to
decompile the DLL.
How do I protect DLL created using VISUAL STUDIO.NET 2002. I want to secure component design. Give me some professional techniques to secure the codes. Any 3rd party software must not be able to decompile it.
It is an essential part of my programming stuff. Please give solution.

Thanks and Regards

Kelly

Jul 21 '05 #3
Hi Steve

Thanks a lot for the immediate response.
Will get back to you in case of any further clarifications.
Warm Wishes
Kelly
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
You can obfuscate your assemblies so they cannot be easily decompiled.
Visual Studio 2003 has a basic built in obfuscator, but for 2002 you'll need a 3rd party solution.

Here's more information on obfuscators:
http://www.abderaware.com/WhitePapers/Obfuscator.htm
http://www.preemptive.com/dotfuscator/index.html
http://www.devx.com/SummitDays/Article/11351
http://www.lesser-software.com/ilobf.htm

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Kelly G." <no*@moreply.com> wrote in message
news:Os****************@TK2MSFTNGP10.phx.gbl...
Hi All

I am developing a web application in .Net technology. Usually, I create a DLL for all of my modules to protect the logics. And it is possible to
decompile the DLL.
How do I protect DLL created using VISUAL STUDIO.NET 2002. I want to

secure
component design. Give me some professional techniques to secure the

codes.
Any 3rd party software must not be able to decompile it.
It is an essential part of my programming stuff. Please give solution.

Thanks and Regards

Kelly


Jul 21 '05 #4
Hi Steve
I am back again!
I got lots of doubts now.

1.) Is that possible to create a one dll includes
controls/library/assemblies?

2.) If yes, you mean I don't need aspx anymore to run over the
web, just if I call dll will load the whole page.

3.) If no, can I have valid reason?

Explanation:

Let say, I want to run a site only with dlls but not with
aspx. It is a single DLL concept. There is any possibility to do so.

Awaiting..

Thanks and Regards

Kelly

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
You can obfuscate your assemblies so they cannot be easily decompiled.
Visual Studio 2003 has a basic built in obfuscator, but for 2002 you'll need a 3rd party solution.

Here's more information on obfuscators:
http://www.abderaware.com/WhitePapers/Obfuscator.htm
http://www.preemptive.com/dotfuscator/index.html
http://www.devx.com/SummitDays/Article/11351
http://www.lesser-software.com/ilobf.htm

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Kelly G." <no*@moreply.com> wrote in message
news:Os****************@TK2MSFTNGP10.phx.gbl...
Hi All

I am developing a web application in .Net technology. Usually, I create a DLL for all of my modules to protect the logics. And it is possible to
decompile the DLL.
How do I protect DLL created using VISUAL STUDIO.NET 2002. I want to

secure
component design. Give me some professional techniques to secure the

codes.
Any 3rd party software must not be able to decompile it.
It is an essential part of my programming stuff. Please give solution.

Thanks and Regards

Kelly


Jul 21 '05 #5
No you can't easily do this. You'd have to structure your assemblies very
carefully during development.

For now you still need ASPX pages.
It .NET 2.0 this kind of thing gets much more flexible.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com


"Kelly G." <no*@moreply.com> wrote in message
news:eP**************@TK2MSFTNGP11.phx.gbl...
Hi Steve
I am back again!
I got lots of doubts now.

1.) Is that possible to create a one dll includes
controls/library/assemblies?

2.) If yes, you mean I don't need aspx anymore to run over the web, just if I call dll will load the whole page.

3.) If no, can I have valid reason?

Explanation:

Let say, I want to run a site only with dlls but not with
aspx. It is a single DLL concept. There is any possibility to do so.

Awaiting..

Thanks and Regards

Kelly

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
You can obfuscate your assemblies so they cannot be easily decompiled.
Visual Studio 2003 has a basic built in obfuscator, but for 2002 you'll need
a 3rd party solution.

Here's more information on obfuscators:
http://www.abderaware.com/WhitePapers/Obfuscator.htm
http://www.preemptive.com/dotfuscator/index.html
http://www.devx.com/SummitDays/Article/11351
http://www.lesser-software.com/ilobf.htm

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Kelly G." <no*@moreply.com> wrote in message
news:Os****************@TK2MSFTNGP10.phx.gbl...
Hi All

I am developing a web application in .Net technology. Usually, I
create a DLL for all of my modules to protect the logics. And it is possible to
decompile the DLL.
How do I protect DLL created using VISUAL STUDIO.NET 2002. I want to

secure
component design. Give me some professional techniques to secure the

codes.
Any 3rd party software must not be able to decompile it.
It is an essential part of my programming stuff. Please give solution.

Thanks and Regards

Kelly



Jul 21 '05 #6

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

Similar topics

4
by: SQL Sever News Group | last post by:
Hi, I v a problem that i have to secure my asp code. I tried "screnc.exe", it is very useful but not hard to crack. Anybody who can give an alternate and better way. Thanks in Advance
3
by: Shannon Clyde | last post by:
SMTP + relay + auth in an IPSEC tunnel to connect to our primary SMTP mail server (GroupWise) from the Web server looks like it would work fine, but is it the best way? I am aware of CDOSYS and...
1
by: Melissa | last post by:
I have two DLLs that utilize the MFC classes for doing normal FTP communications for uploading files. Well, someone has requested that we use secure FTP protocol. I have been looking on the...
4
by: Chuck Anderson | last post by:
I use apache, Php and MySql on my Windows XP machine at home. I have been doing so successfully now for a long time. However, I am now trying to use fopen to open secure URLs (https) and having...
2
by: Johann Blake | last post by:
I can hardly believe I'm the first one to report this, but having gone through the newsgroup, it appears that way. I would like to open a solution in the VS.NET IDE that consists of multiple...
7
by: Seth | last post by:
I have noticed that the id of my session object changes when I switch from a non-secure to a secure connection. What I'm trying to do: I have a cookie that is built on the non-secure side of...
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
5
by: Kelly G. | last post by:
Hi All I am developing a web application in .Net technology. Usually, I create a DLL for all of my modules to protect the logics. And it is possible to decompile the DLL. How do I protect DLL...
5
by: =?Utf-8?B?TWljaGVsQFZvb3JidXJn?= | last post by:
Hi all, i've built a C# dll / component with some wonderful services to the clients Payroll service. As you might guess, i only want MY pogram to use this DLL. If some developer get's hold of a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...

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.