473,772 Members | 2,442 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DLL privacy / ILMerge / Dotfuscator

Apologies if this seems to be a silly question, but...

.... is there anything that can be done to stop other people from using your
DLLs? For example, if you have a solution with three projects: two
applications and a class library, when the applications compile you end up
with an exe and a dll. Since VB doesn't implement linking so that the dll can
be embedded in the exe, it must be distributed as is. What is to prevent
anyone from coming along, pulling out your dll, and then using its classes
for their own projects with just a smile and a nod?

I have experimented with ILMerge, which appears to link the files, until the
application runs, then attempts at serialization using the dll's classes fail
(whereas the nonmerged dll/exe combo works fine).

Would dotfuscator be useful in this situation?
Nov 23 '05 #1
2 1664
Andrew,

There is not anything to be done at the end to prefent people to recompile
any program.

For doing this as good as can be there are obfuscators

Search for that on internet an in these newsgroup there is a bunch of
discussion about that.
(Especially the newsgroup dotnet.General)

http://groups.google.com/group/micro...rch+this+group

I hope this helps,

Cor

"Andrew E Chapman" <An************ @discussions.mi crosoft.com> schreef in
bericht news:C3******** *************** ***********@mic rosoft.com...
Apologies if this seems to be a silly question, but...

... is there anything that can be done to stop other people from using
your
DLLs? For example, if you have a solution with three projects: two
applications and a class library, when the applications compile you end up
with an exe and a dll. Since VB doesn't implement linking so that the dll
can
be embedded in the exe, it must be distributed as is. What is to prevent
anyone from coming along, pulling out your dll, and then using its classes
for their own projects with just a smile and a nod?

I have experimented with ILMerge, which appears to link the files, until
the
application runs, then attempts at serialization using the dll's classes
fail
(whereas the nonmerged dll/exe combo works fine).

Would dotfuscator be useful in this situation?

Nov 23 '05 #2
i use the qndobfuscator works great for me ( and is free ) especially
bevause my project is remotable so i have a method that must be "known" to
the outside world , well in these cases you can set attributes to the method
so it will not be obfuscated , however there is also the possibility to
force obfuscation of certain parts in your code

another aproach i choose is to encrypt all my strings , with sensitive data
( connection strings for instance ) already in the source , so i encrypt the
strings copy them in my program
and decrypt them during runtime , so even succesfull decompiling will leave
another puzzle to be solved , also write some dummy methods and overloads in
your code to confuse the cracker

however 100% safe is impossible
regards

Michel Posseth [MCP]

"Andrew E Chapman" <An************ @discussions.mi crosoft.com> wrote in
message news:C3******** *************** ***********@mic rosoft.com...
Apologies if this seems to be a silly question, but...

... is there anything that can be done to stop other people from using
your
DLLs? For example, if you have a solution with three projects: two
applications and a class library, when the applications compile you end up
with an exe and a dll. Since VB doesn't implement linking so that the dll
can
be embedded in the exe, it must be distributed as is. What is to prevent
anyone from coming along, pulling out your dll, and then using its classes
for their own projects with just a smile and a nod?

I have experimented with ILMerge, which appears to link the files, until
the
application runs, then attempts at serialization using the dll's classes
fail
(whereas the nonmerged dll/exe combo works fine).

Would dotfuscator be useful in this situation?

Nov 23 '05 #3

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

Similar topics

10
3761
by: Darren | last post by:
OK, I'm trying to understand the need for this. If I understand correctly without this anyone can reverse engineer and obtain the source code of my application - is this correct? And this tool will prevent this? Why isn't this tool automatically executed by default whenever I build my apps? My company is building corporate applications and don't want our source code available to anyone. I assume there is a Dotfuscator that
3
995
by: Tim Marsden | last post by:
Hi, I am trying to use ILMerge to consolidate a .exe and serval .dll's into a single .exe. (VB.NET) I am using the following command. ILMerge.exe /wildcards /log:Log.txt /keyfile:"C:\MyKey.snk" /t:winexe /out:Merged.exe Primary.exe *.dll I get the follow result at the end of my log file:
0
1425
by: venky | last post by:
How can i integrate dotfuscator with my solution projects. Like when i build projects in my solution using visual studio.net, i want to be build using dotfuscator. Like i have a setup project which takes the dll from some directory. Before i run the setup project, i want the dlls to be built using dotfuscator and i don't want any manual operation. How can u integrate with build process or setup process? I am dotfuscator community...
1
2225
by: Oz Sozen | last post by:
I want to use ILMerge in my project, but it requires a framework version that I cannot find the download for (2.0.7.... something). The latest I can see is 2.0.5. Does anybody know where I can find this framework or a version of ILMerge that works with an earlier framework. Thanks.
3
3989
by: Tom Bean | last post by:
I am using Dotfuscator Community Edition to obfuscate an application for Pocket PC written in C#. When I made the first pass with Dotfuscator, the app threw a MissingManifestResourceException. Of course, since the app has been obfuscated, the only information I got about what caused the error pointed to resource aq. The Dotfuscator listing window had WARNINGs about all the forms in my app, so I excluded them on the 'Rename' tab and...
2
2304
by: Tina | last post by:
I have a dll created from an asp.net component I wrote. I want to distribute it to other developers but I'm told it can be reverse engineered. I read the docs on dotfuscator thinking that this could add protection. The docs say that to run it from vs.net to run it from the external tools menu then follow the gui. The External Tools dialog box comes up, I highlight Dot&Fuscator Community Edition, Hit OK and nothing happens. What am I...
0
1989
by: Dennis | last post by:
I am trying to use ILMerge to create a single executable. Below are the DOS command lines that I am using: cd c:\program files\ilmerge ilmerge /lib:c:\programming\vs-projects\recipes\bin /target:winexe /out:c:\RecipeSinglePgm.exe Recipes.exe Interop.ADODB.dll Interop.ADOX.dll Interop.JRO.dll MultiBoxControl.dll MultiGridControl.dll I don't get any errors noted nor do I get the file "c:\RecipeSinglePgm.exe"
3
3790
by: JT | last post by:
Hi, I am having trouble finding information about GUIDs and strong-names and don't really know what I need. If that's too ambiguous, please tell me where to look for info on these. Here's what I am trying to accomplish: I need to know what assembly is calling methods in a web service. I also use ILMerge.exe to merge my assemblies into a single executable. One of the dlls in the executable calls the web service. I need to enforce...
0
1282
vikramadith
by: vikramadith | last post by:
I'm having some issues merging dlls into my exe Basically I have three VS projects, one producing an exe, and the other two producing dlls. Let us just call it MyApp.exe, Lib1.dll and Lib2.dll. All are written in C#. MyApp references both dlls. Now, I want the dlls to be merged into the exe, so I used ILMerge (with the Gilma UI) to do so. According to the ILMerge output, the merge works fine without any errors. However, when I try and...
0
9621
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9914
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8937
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7461
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6716
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5355
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4009
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2851
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.