473,465 Members | 1,373 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

can i change it??

Hi All,

i was wondering if it is possible to change the location of the dlls of

an application, by default, the assemblies of an application is loaded
in the bin folder in the applications folder, can i change some
configurations to save these dlls in another location???
i'm using asp v1.1 and .net studio 2003.
i'll also be thankful if anybody can tell me about any resources, books

or links where i can find any data regarding such an issue.
Thanks for ur help and quick reply

Dec 10 '06 #1
5 1120
It can be done with assembly probing elements in the config file, but the
first question is "Why would you want to do this?". In other words, what is
the goal.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"tt*****@gmail.com" wrote:
Hi All,

i was wondering if it is possible to change the location of the dlls of

an application, by default, the assemblies of an application is loaded
in the bin folder in the applications folder, can i change some
configurations to save these dlls in another location???
i'm using asp v1.1 and .net studio 2003.
i'll also be thankful if anybody can tell me about any resources, books

or links where i can find any data regarding such an issue.
Thanks for ur help and quick reply

Dec 10 '06 #2
thanx Peter for ur quick reply :)
actually i want to do so to prevent hackers from downloading dlls from
my server using hacking tools and reverse engineer and get my code back
:).
so i thought of changing the default location of the dlls, so i woul
dmake it harder for attackers to guess their new location.

does this make sence??
Peter wrote:
It can be done with assembly probing elements in the config file, but the
first question is "Why would you want to do this?". In other words, what is
the goal.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"tt*****@gmail.com" wrote:
Hi All,

i was wondering if it is possible to change the location of the dlls of

an application, by default, the assemblies of an application is loaded
in the bin folder in the applications folder, can i change some
configurations to save these dlls in another location???
i'm using asp v1.1 and .net studio 2003.
i'll also be thankful if anybody can tell me about any resources, books

or links where i can find any data regarding such an issue.
Thanks for ur help and quick reply
Dec 10 '06 #3
Hi,

tt*****@gmail.com wrote:
thanx Peter for ur quick reply :)
actually i want to do so to prevent hackers from downloading dlls from
my server using hacking tools and reverse engineer and get my code back
:).
so i thought of changing the default location of the dlls, so i woul
dmake it harder for attackers to guess their new location.

does this make sence??
Not really. First, my tests show that the "bin" folder is not reachable
when you try to navigate to it (I get a 404). I am not 100% if that's a
setting that my provider activated. Anyway, you can block unauthorized
access to a directory using authentication. If you put your DLLs in
another directory, how will you protect the access to that other dir?

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Dec 10 '06 #4
i tried using the probing element in web.config, but it didn work out
:(
it gives me a parser error as it couldn't locate the code-behind
classes

Peter wrote:
It can be done with assembly probing elements in the config file, but the
first question is "Why would you want to do this?". In other words, what is
the goal.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"tt*****@gmail.com" wrote:
Hi All,

i was wondering if it is possible to change the location of the dlls of

an application, by default, the assemblies of an application is loaded
in the bin folder in the applications folder, can i change some
configurations to save these dlls in another location???
i'm using asp v1.1 and .net studio 2003.
i'll also be thankful if anybody can tell me about any resources, books

or links where i can find any data regarding such an issue.
Thanks for ur help and quick reply
Dec 10 '06 #5
You are wasting your time. IIS never serves files from the /bin folder, it's
not http - accessible.
Peter

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


"tt*****@gmail.com" wrote:
i tried using the probing element in web.config, but it didn work out
:(
it gives me a parser error as it couldn't locate the code-behind
classes

Peter wrote:
It can be done with assembly probing elements in the config file, but the
first question is "Why would you want to do this?". In other words, what is
the goal.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"tt*****@gmail.com" wrote:
Hi All,
>
i was wondering if it is possible to change the location of the dlls of
>
an application, by default, the assemblies of an application is loaded
in the bin folder in the applications folder, can i change some
configurations to save these dlls in another location???
i'm using asp v1.1 and .net studio 2003.
>
>
i'll also be thankful if anybody can tell me about any resources, books
>
or links where i can find any data regarding such an issue.
>
>
Thanks for ur help and quick reply
>
>

Dec 10 '06 #6

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

Similar topics

10
by: Fabrizio | last post by:
(Sorry for the crosspost, but I really don't know which is the right newsgroup!) Hi all, I try to change the password to a user that as to change the password at first logon: try {
4
by: active | last post by:
It appears to me that if I change the Control's client size the controls size does not change to agree with the new size. Does it work like the VB6 ScaleWidth and ScaleHeight? That is after I...
11
by: Simon | last post by:
Dear reader, The syntax for the VBA code to change the RowSource of a Master Report is: Me.RowSource = "TableOrQueryName"
1
by: monkey1001 | last post by:
my program is suppose to show my due change and i got it working but my change and coins are wrong how can i improve it thank you..(its supposed to be in java)
4
by: g diddy | last post by:
Hi I have a form (Allocation_Sub_Form) which is based upon a query. This query draws information from a number of tables depending on what invigilators are invigilating particular exams. This form...
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
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...
1
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...
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...
0
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...
0
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...

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.