473,508 Members | 2,210 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Where to place the DAL assembly

If I have a setup of a web server and a database server, and my
application is split into three layers, UI, Business and Data. With
the Data layer calling stored procedures, where is the best place to
these assemblies. e.g. if the DAL assembly sits on the SQL server what
are the security/performance implications and does this mean I have to
make this a remoting object.

If the DAL assembly stays on the web server, what are the
security/performance implications.

Thanks for any help.
Nov 17 '05 #1
1 1054
Hi Tony,

Best practice is probably to put the DAL on the web
server. Configure your connection strings so that you log
in using Integrated Security (not SQL uid/pwd). Run the
web server as a domain user and grant that domain user
access to the database to the appropriate permissions.

This will be much more performant and easier to code than
putting the DAL on the db (or another) server. Only
negative (and probably not a practical one), is if an
intruder gains access to your web server, they could
obtain the DAL code.

Regards,
Seth
-----Original Message-----
If I have a setup of a web server and a database server, and myapplication is split into three layers, UI, Business and Data. Withthe Data layer calling stored procedures, where is the best place tothese assemblies. e.g. if the DAL assembly sits on the SQL server whatare the security/performance implications and does this mean I have tomake this a remoting object.


Nov 17 '05 #2

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

Similar topics

10
2027
by: vwd2005eeb | last post by:
Visual Web Developer 2005 Express Edition Beta I did Build | Build Web site, where are the DLLs? I was expecting to see maybe one dll for each Web page in a directory (maybe still "bin") under...
7
2872
by: Alan Silver | last post by:
Hello, I am just looking at VWD and seeing what needs doing to take an existing site I've written by hand and importing it into VWD. I've already discovered that I need to rename my code-behind...
8
2590
by: BobAchgill | last post by:
I have looked and looked for on the property pages for my Window form project and do not see where they are saying I should find the place to set deployment properties like: Manufacturer...
10
2814
by: Brett | last post by:
If I have many hard coded values such as file paths, file names, timeouts, etc, where is the best place to define them? Meaning, in the case something needs changing for example, rather than...
5
1893
by: Rich | last post by:
Hello, So I develop a vb.net exe on my (win2k) workstation. I have to deploy it to another workstation (actually several - all win2k). Each receiving workstation will have .Net Framework 1.1...
10
6801
by: Mike9900 | last post by:
Hello, I would like to store application expiration date in a file and store that file in a secure place, so the application can access the file for all the users on that computer. ...
10
1614
by: Henry Jones | last post by:
I am using VB.NET 2005 and built and published my solution. When installing on a clients PC, where does the EXE go? Assume my project is Test. Shouldn't it be installed in C:\Program Files\Test ?...
41
18064
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
20
2372
by: David Thielen | last post by:
Hi; When we add a reference to a web app, where is that information stored? There is no project file, it's not in the web.config or solution file. ??? - thanks - dave ...
0
7231
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
7336
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
7401
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
7063
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
7504
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...
1
5059
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
4720
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
3211
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...
0
3196
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.