473,471 Members | 2,008 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to protect my SQL Server queries

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_
Nov 21 '05 #1
2 1075
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" <di**@noplacelikehome.com> wrote in message
news:uq********************************@4ax.com...
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_

Nov 21 '05 #2
Hi,

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

Ken
-------------------
"Dino Buljubasic" <di**@noplacelikehome.com> wrote in message
news:uq********************************@4ax.com...
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_

Nov 21 '05 #3

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

Similar topics

6
by: Alucard | last post by:
Hi all. I would like to ask if Regular expression is the best way to deal with SQL injection attack, and no mysql_real_escape_string() is used: if(preg_match("(4,6)")){ print "Success!"; } ...
22
by: teejayem | last post by:
Hi, I am new to programming with databases and was wanting some help. Is there any way to password protect an access database and access sent sql commands to it via vb.net code? Any help...
3
by: Idang | last post by:
Hi...would please help me, how to protect my database, i donot want anyboy else changing such as queries, forms, reports i made. I have already set the security level but i am still doubt. Thanks...
4
by: Veeraraghavan | last post by:
Hi All, I am developing a client server communication using system.net.socket and I am finding it very difficult to get a solution for this. I started with single port communication with single...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
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...
0
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...
0
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
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
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.