Re: SQL Server over the Web, what are my options? by darrenj
darrenj
Tue Feb 01 15:05:03 CST 2005
Thanks for the response.
Please see below for comments
"Massimo" wrote:
> "DarrenJ" <darrenj@classinfo.com(work)> ha scritto nel messaggio
> news:38D37232-3CF0-430C-A02A-3008B087EAE3@microsoft.com...
>
> > SQL Server DB is at location A
> > IIS Server with the website is at location B
> >
> > The website at location B needs to be able to run sql queries
> > against the DB at location A over the internet.
> >
> > The options I am considering are:
> >
> > 1) VPN between A and B. What are the pros and cons?
>
> Good solution, very secure (as long as you use L2TP instead of PPTP, of
> course). You may need a couple of additional routers, or you can do with
> existing ones, if your existing routers support it.
>
> > 2) On the firewall at B, forwarding traffic from A to SQL server.
> > Would use SSL encryption for the DB connection but still not
> > sure this is secure enough.
>
> If you allow only traffic from A to B, that could be ok too.
>
> > Do those sound like valid secure options?
>
> Yes, but I think your main concernsshould be about network speed and
> availability. How long will a query take against a remote server across the
> Internet? What will happen if, for some reasons, the two servers can't talk?
Speed is a concern of course. If the servers can't talk then the site is down.
>
> > Are there other options I should be considering.
>
> You could put another SQL Server at location B and have the two replicate,
> using VPN or firewall-based port forwarding. This will be as secure as your
> options, but a lot more fast and reliable.
The problem is that the DB is very large and there will be lots of updates
but the web site only cares about a few of the table, a small fraction of the
total number of tables. So it looks like replication would result in a lot
more network traffic over all. Also the tables need to be accessed real time,
we can't stale information so if the replication can't take place then the
site is down anyway ...
>
> Massimo
>
>