Solved

setup IIS, sql server behind firewall or....?

Posted on 2004-08-25
6
217 Views
Last Modified: 2008-03-06
Currently we have 1 box for both IIS & sql server.
I would like to separate these into two servers, and which of the following setup is better and why?
1. setup the firewall between IIS (in front) and sql server 2000 or
2. setup IIS and sql server 2000 behind the firewall.

thanks for help!
0
Comment
Question by:jackieyeh
  • 2
  • 2
  • 2
6 Comments
 
LVL 15

Expert Comment

by:jdlambert1
Comment Utility
Ideally, your firewall should create 3 zones: the public interface to your ISP, a DMZ, and the corporate LAN. In this scenario, you should put your IIS server in the DMZ and your SQL Server on the Corporate LAN, and configure the firewall to allow no connections to your SQL Server from the public, only allow connections from the IIS service from the DMZ to SQL Server. This won't block LAN connections to your SQL Server, since local traffic won't have to go through the firewall to get to it.
0
 
LVL 34

Expert Comment

by:arbert
Comment Utility
Agree with the above...Typical setup....
0
 

Author Comment

by:jackieyeh
Comment Utility
thanks for the response.  Since we have limited knowledge about the firewall, we have the hosting company setup the firewall for us.   In this case, they should configure the connection for us right?
Is there any change I need to make in my .net code for access the db?   thanks again.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 15

Accepted Solution

by:
jdlambert1 earned 80 total points
Comment Utility
Yes, if your ISP is installing your firewall, they should be able to configure it for you. Your IIS will need to be configured correctly, but if that's taken care of, I don't think and code would need to be changed for communication between IIS and SQL Server, unless you have IP addresses hard-coded.
0
 
LVL 34

Assisted Solution

by:arbert
arbert earned 20 total points
Comment Utility
"Is there any change I need to make in my .net code for access the db? "

You'll probably have to use a IP address in your connection instead of the server name (if you coded it with a server name).
0
 

Author Comment

by:jackieyeh
Comment Utility
many thanks experts!! :)
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduced in Microsoft SQL Server 2005, the Copy Database Wizard (http://msdn.microsoft.com/en-us/library/ms188664.aspx) is useful in copying databases and associated objects between SQL instances; therefore, it is a good migration and upgrade tool…
Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now