Solved

## Encrypting information being sent to MS SQL database over the internet.

Posted on 2004-03-21
5
220 Views
Last Modified: 2010-04-15
Hello,

I have a software application written in c# that accesses a database over the internet.  I need a way of encrypting the information being sent back and forth between the application and the database.  We also have a web application running off of the same database, and for this we are using an SSL certificate.  Is there anyway to incorporate this certificate into the application?  I would prefer not to encrypt the information in the database, just the transmission.

Thanks for your help.
0
Comment
Question by:FTIISD
5 Comments
 
LVL 12

Expert Comment

by:esteban_felipe
ID: 10647008
Hi FTIISD,

How is the information being sent/recieve?. Remoting? proxy objects?.. or are you opening a db connection to a server over the internet?

Esteban Felipe
www.estebanf.com
0
 
LVL 20

Accepted Solution

by:
TheAvenger earned 500 total points
ID: 10647523
Check this out: using SSL to secure communication with SQL Server 2000:

http://msdn.microsoft.com/library/en-us/dnnetsec/html/SecNetHT19.asp
0
 
LVL 7

Expert Comment

by:jj819430
ID: 10650676
If the server is certified and running your app then yes you can run off of its certification. But it depends on the certificate as to how you go about this. Another option is to put another application on the SQL server that acts as an intermediary with your application, and then you can simply throw a plugin that uses Public or Private key encryption (whatever you want) on to it. Just make sure you don't use anything labeled as "Proprietary" just stick to what is tried and true, for example RSA.
0
 

Author Comment

by:FTIISD
ID: 10680025
Hi,

Thanks for all your help.  The information is currently being stored at a hosting company.  They will not enable the encryption for me.  We are in the process of removing it from them, and placing it on a local server.  When this is done, (within the next couple of days) I will be able to attempt these methods.

Thanks
0
 
LVL 2

Expert Comment

by:eric_duncan
ID: 10691584
If you are putting the database on a local server, you might not want to encrypt the transmissions at all if you KNOW that your firewall settings are strong and your network is secure. Encryption on a database connection will affect performance considerably, so I wouldn't do it unless I had to.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
C# HTTP GET method sample code 3 60
Coding C# in Linux 8 71
SqlDependency to get update from sql to my c# app 2 41
Jquery/JSON passing value from one function to another 12 40
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

832 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