Click here to get back home

Re: Securing SQL

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Re: Securing SQL Bad Beagle 11-29-2005
`--> Re: Securing SQL karl levinson, ...11-29-2005
Posted by Bad Beagle on November 29, 2005, 3:27 pm
Please log in for more thread options
Karl, thanks for the reply. How does having a 2nd dmz make it more secure
besides isolation? YOu still have to punch holes in your firewall correct?
>
>>I would like to know what the suggestions are for designing a secure
>>solution for Windows servers and SQL. I have a Windows 2000 server that
>>is my web server - this server is in the dmz. This server has pages that
>>access a SQL server. The SQL server hosts a database that is used both
>>internally and externally and needs to be updated by someone internal. My
>>question is where this SQL server should be placed - on the lan and do
>>file replication or in the dmz and open up the firewall for sql traffic.
>
> I would suggest any solution that prevents the servers in the DMZ from
> opening inbound connections into your internal LAN and requires that
> connections be established from your LAN to the DMZ. Having two SQL
> servers, one on the LAN, one in the DMZ, that are synchronized by the
> server on the LAN sounds most secure, but then you want to make sure the
> synchronization works for you and does not cause unacceptable data
> discrepancies.
>
> A cheaper solution that is probably secure enough would be to have the one
> SQL server in the DMZ -- preferably a second DMZ for example using an
> additional network interface in your firewall or an additional inexpensive
> firewall like the www.netscreen.com "5" series, so that the SQL server is
> firewalled from both the LAN and the web server -- AND only allow
> connections from the LAN to the SQL server.
>
> Note that using IPSec authentication and encryption does not make it safe
> to permit connections from the DMZ web server to a server on your LAN,
> because attackers may be able to use that connection.
>
>
>



Posted by karl levinson, mvp on November 29, 2005, 8:37 pm
Please log in for more thread options
I think you mean 2nd SQL server? One DMZ is sufficient. Not all holes in
firewalls are equal in terms of security, some are worse than others. For
example, holes that let inbound traffic from the DMZ or Internet to your
internal network are generally worse than holes that let your internal
network to the DMZ, Windows networking holes are arguably worse than SQL
holes, IPSec tunneling is arguably worse than opening up holes for the
actual protocols, depending. One reason for this is to avoid someone who
compromises a DMZ server from gaining easy access to be able to hop via an
open inbound firewall port to your internal network.

If you only had one SQL server, I would probably put it in the DMZ, instead
of letting your web server connect to a internal SQL server. The reason is
that a hacker that hacked your web server could then theoretically enter
your internal network via this channel. However, if you did this, you would
want to engineer the authentication so that your SQL server in the DMZ does
not need to authenticate users via a domain controller on your internal
network. There are a bunch of different ways to ensure this is not needed.

This solution would probably be secure enough, especially if the only people
that need to directly connect to your SQL server is the DMZ web server [to
service your internal and external users data requests] and a handful of
developers. Having two servers might arguably be more secure because you
can then configure your setup so that the semi-trusted DMZ servers never
have need to open a connection to your internal LAN, and if desired, you can
permit your internal SQL server to do more such as open its own connections
to other internal servers, authenticate users using your internal domain
controllers, etc. Which way you decide to go is entirely up to you.


> Karl, thanks for the reply. How does having a 2nd dmz make it more secure
> besides isolation? YOu still have to punch holes in your firewall
> correct?

>>
>>>I would like to know what the suggestions are for designing a secure
>>>solution for Windows servers and SQL. I have a Windows 2000 server that
>>>is my web server - this server is in the dmz. This server has pages that
>>>access a SQL server. The SQL server hosts a database that is used both
>>>internally and externally and needs to be updated by someone internal.
>>>My question is where this SQL server should be placed - on the lan and do
>>>file replication or in the dmz and open up the firewall for sql traffic.
>>
>> I would suggest any solution that prevents the servers in the DMZ from
>> opening inbound connections into your internal LAN and requires that
>> connections be established from your LAN to the DMZ. Having two SQL
>> servers, one on the LAN, one in the DMZ, that are synchronized by the
>> server on the LAN sounds most secure, but then you want to make sure the
>> synchronization works for you and does not cause unacceptable data
>> discrepancies.
>>
>> A cheaper solution that is probably secure enough would be to have the
>> one SQL server in the DMZ -- preferably a second DMZ for example using an
>> additional network interface in your firewall or an additional
>> inexpensive firewall like the www.netscreen.com "5" series, so that the
>> SQL server is firewalled from both the LAN and the web server -- AND only
>> allow connections from the LAN to the SQL server.
>>
>> Note that using IPSec authentication and encryption does not make it safe
>> to permit connections from the DMZ web server to a server on your LAN,
>> because attackers may be able to use that connection.
>>
>>
>>
>
>



Similar ThreadsPosted
Securing FTP October 16, 2007, 7:22 pm
Securing IIS IUSER October 17, 2005, 2:18 pm
Securing with templates November 16, 2005, 3:58 am
Securing a DC with firewall? January 26, 2006, 9:36 am
Securing Network January 31, 2008, 10:53 pm
Securing management access? February 16, 2008, 7:52 am
Solution for securing VPN/IAS using 2-factor SMS Authentication June 11, 2005, 1:37 pm
Securing Remote Desktop To Server August 11, 2005, 10:30 am
Strategy for securing user account February 26, 2006, 11:36 am
securing mobile users at hotspots October 5, 2006, 8:45 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap