Connecting Tech Pros Worldwide Forums | Help | Site Map

How to protect my SQL Server queries

Dino Buljubasic
Guest
 
Posts: n/a
#1: Nov 21 '05
Hi,

My application is extensivelly querying a remote server. Somebody
sniffing the traffic could eventually find out all important
information such as passwords (from users in datatables as sell as the
password and user name used in connectiong string to that server.

How can I protect my self from this?

Thank you
_dino_

Cathal Connolly [VB MVP]
Guest
 
Posts: n/a
#2: Nov 21 '05

re: How to protect my SQL Server queries


If the remote server is part of the same domain, or a domain trust is setup
then just use windows authentication to protect your credentials.

If thats not the case, then you can encrypt the communications either over
SSL or IPSEC (see
http://www.microsoft.com/technet/pro.../sp3sec03.mspx
for links to KB's for both)

I'd also recommend that you don't pass sql queries across the wire, and
instead use stored procures where possible. You should also consider
encrypting the data in your database. In sql 2000 you can either do that via
the code in your application, or via a SQL encyption library. There are a
number of commercial ones, but theres also an excellent free one @
http://www.sqlservercentral.com/colu...encryption.asp (note:
SQL 2005 has built-in support for encryption)

Cathal
"Dino Buljubasic" <dino@noplacelikehome.com> wrote in message
news:uqb7g1p5g77l8dh7c5eq36d47o94rlsg60@4ax.com...[color=blue]
> Hi,
>
> My application is extensivelly querying a remote server. Somebody
> sniffing the traffic could eventually find out all important
> information such as passwords (from users in datatables as sell as the
> password and user name used in connectiong string to that server.
>
> How can I protect my self from this?
>
> Thank you
> _dino_[/color]


Ken Tucker [MVP]
Guest
 
Posts: n/a
#3: Nov 21 '05

re: How to protect my SQL Server queries


Hi,

http://msdn.microsoft.com/msdnmag/is...n/default.aspx

Ken
-------------------
"Dino Buljubasic" <dino@noplacelikehome.com> wrote in message
news:uqb7g1p5g77l8dh7c5eq36d47o94rlsg60@4ax.com...[color=blue]
> Hi,
>
> My application is extensivelly querying a remote server. Somebody
> sniffing the traffic could eventually find out all important
> information such as passwords (from users in datatables as sell as the
> password and user name used in connectiong string to that server.
>
> How can I protect my self from this?
>
> Thank you
> _dino_[/color]


Closed Thread


Similar Visual Basic .NET bytes