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

[dll - after Obfuscation] Problem: precompilation needed?

teo
After I've obfuscated a precompiled dll,
to protect it,
it works no more.

---- ------ -------

I'm with 'AspNet 2.0' and 'Visual Studio 2005'
and
'Dotfuscator Community Edition' (the poorest)

---- ------ -------

Simple steps:

I precompiled my web app
(only a Button and a e Textbox)
with the Updatable option check 'Off'

I loaded the generated dll
on the Bin folder on the server
it works

---- ------ -------

I decid to protect my web app

I used Dotfuscator (embedded in VS2005)

I loaded the precopiled dll I had
and obfuscted it

It generates a new dll , with a different name

I loaded this obfuscated dll in the
Bin folder on the server

but my web app doesn't work
Message:
"The file 'Default.aspx' has not been pre-compiled,
and cannot be requested"

---- ------ -------

What have I to do in order to have my web app working
or to better say
to protect any web application I develop?

---- ------ -------

Thanks


Nov 8 '06 #1
4 1701
I'm not sure you can obfuscate precompiled assemblies from the use of the
WebSite Project model. Download the Web Application Project add-in, convert
your project to a Web Application project (which will create a single
assembly dll ) and try obfuscating that. But having said that, I would add
that obfuscation isn't much of a deterrent.
Peter

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


"teo" wrote:
After I've obfuscated a precompiled dll,
to protect it,
it works no more.

---- ------ -------

I'm with 'AspNet 2.0' and 'Visual Studio 2005'
and
'Dotfuscator Community Edition' (the poorest)

---- ------ -------

Simple steps:

I precompiled my web app
(only a Button and a e Textbox)
with the Updatable option check 'Off'

I loaded the generated dll
on the Bin folder on the server
it works

---- ------ -------

I decid to protect my web app

I used Dotfuscator (embedded in VS2005)

I loaded the precopiled dll I had
and obfuscted it

It generates a new dll , with a different name

I loaded this obfuscated dll in the
Bin folder on the server

but my web app doesn't work
Message:
"The file 'Default.aspx' has not been pre-compiled,
and cannot be requested"

---- ------ -------

What have I to do in order to have my web app working
or to better say
to protect any web application I develop?

---- ------ -------

Thanks


Nov 8 '06 #2
Obfuscate it before you precompile it.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"teo" <te*@inwind.itwrote in message news:co********************************@4ax.com...
After I've obfuscated a precompiled dll,
to protect it,
it works no more.

---- ------ -------

I'm with 'AspNet 2.0' and 'Visual Studio 2005'
and
'Dotfuscator Community Edition' (the poorest)

---- ------ -------

Simple steps:

I precompiled my web app
(only a Button and a e Textbox)
with the Updatable option check 'Off'

I loaded the generated dll
on the Bin folder on the server
it works

---- ------ -------

I decid to protect my web app

I used Dotfuscator (embedded in VS2005)

I loaded the precopiled dll I had
and obfuscted it

It generates a new dll , with a different name

I loaded this obfuscated dll in the
Bin folder on the server

but my web app doesn't work
Message:
"The file 'Default.aspx' has not been pre-compiled,
and cannot be requested"

---- ------ -------

What have I to do in order to have my web app working
or to better say
to protect any web application I develop?

---- ------ -------

Thanks


Nov 8 '06 #3
Juan,
How could he do that? If it's not precompiled, there would be nothing to
obfuscate, right?
Peter

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


"Juan T. Llibre" wrote:
Obfuscate it before you precompile it.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"teo" <te*@inwind.itwrote in message news:co********************************@4ax.com...
After I've obfuscated a precompiled dll,
to protect it,
it works no more.

---- ------ -------

I'm with 'AspNet 2.0' and 'Visual Studio 2005'
and
'Dotfuscator Community Edition' (the poorest)

---- ------ -------

Simple steps:

I precompiled my web app
(only a Button and a e Textbox)
with the Updatable option check 'Off'

I loaded the generated dll
on the Bin folder on the server
it works

---- ------ -------

I decid to protect my web app

I used Dotfuscator (embedded in VS2005)

I loaded the precopiled dll I had
and obfuscted it

It generates a new dll , with a different name

I loaded this obfuscated dll in the
Bin folder on the server

but my web app doesn't work
Message:
"The file 'Default.aspx' has not been pre-compiled,
and cannot be requested"

---- ------ -------

What have I to do in order to have my web app working
or to better say
to protect any web application I develop?

---- ------ -------

Thanks




Nov 8 '06 #4
teo
On Wed, 8 Nov 2006 13:44:01 -0800, Peter Bromberg [C# MVP]
<pb*******@yahoo.nospammin.comwrote:
>I'm not sure you can obfuscate precompiled assemblies from the use of the
WebSite Project model. Download the Web Application Project add-in, convert
your project to a Web Application project (which will create a single
assembly dll ) and try obfuscating that. But having said that, I would add
that obfuscation isn't much of a deterrent.
Peter
That add-in (and its related updating set of files )
is suitable to an English version of VS2005;
I also read the faq and they confirmed this.

Any Italian version in the meanwhile?
Any workaround?

How can I protect my work ?????
Nov 10 '06 #5

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

Similar topics

5
Dll
by: Aaron | last post by:
Is it possible to compile a dll that only works on my machine? if someone steals it, it would not work on their machine.
159
by: petantik | last post by:
Are there any commercial, or otherwise obfuscators for python source code or byte code and what are their relative advantages or disadvantages. I wonder because there are some byte code protection...
9
by: MacDermott | last post by:
I have an Access MDB which instantiates a class in a custom DLL, manipulates it for a while, then sets it equal nothing. The MDB does other things,too, and generally behaves itself as desired....
15
by: Jason Shohet | last post by:
I'm trying to figure out *why* VS.NET is creating exe's for us instead of dll's now... And how we can set it back to create dll's during the build. TY jason shohet
8
by: WebBuilder451 | last post by:
I have a local serve that holds my source code and i'm using vs2005 for 2.0 to build the site. I'm runingthe site off my local pc (filesystem). I built the site but can't find the dll or the bin...
1
by: Tina | last post by:
I have written an ASCX control with 99% of the logic in a spearate class in it's own dll assembly. I want to ship the ascx control and the dll to other users but I need to protect my code in the...
7
DLL
by: Boki | last post by:
Hi All, Need info to build the functions to a DLL. Because the C# exe file is too clear to know everything. ( awesome, this post will be deleted again? ) Is the DLL still clear to know...
6
by: Boki | last post by:
Hi All, It is awesome, how clear info in the c# exe file. When I am using Netbeans ( a java IDE), it can set the obfuscation level. 1) I don't know how to use obfuscation in C# yet. 2) How...
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: 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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.