Solved

Encryption on database tables MSSQL 2008

Posted on 2014-12-02
3
58 Views
Last Modified: 2015-03-24
Hello experts,

DO you have any tutorial, suggestions  on how to encrypt tables on database MSSQL 2008?
Once they are encrypted, would it affect my ASP.net applications I have when i call such tables?


thank you
0
Comment
Question by:shpresa
  • 2
3 Comments
 
LVL 33

Expert Comment

by:Dave Howe
ID: 40476785
Depends on how you want to encrypt.
If you are interested in at-rest encryption, then you can simply encrypt the storage media (bitlocker, efs, whatever)

If you want to do explicit encryption, then you need to alter apps to use the 2008 crypto primitives (such as ENCRYPTBYKEY - that means coding changes.

if you want to do this without altering the code, then you need to follow this guide to Transparent Data Encryption - might take a couple of looks before you get the idea, so feel free to post follow up questions in this thread for clarification :)
0
 

Author Comment

by:shpresa
ID: 40476883
Hi thank you for the info.

I was interested for encryption at rest and in transit, when data is moving.
Without altering the code would be great. Is the transparent data encryption used when data is in transit?
0
 
LVL 33

Accepted Solution

by:
Dave Howe earned 500 total points
ID: 40477267
TDE is similar to the on the fly disk encryption, but is done by the database engine rather than the operating system - think of it as on-the-fly table encryption.  

For that reason, it is effectively encrypted only "at rest" - the data from app to engine will be plaintext, so should be further protected by TLS at the session level between app and engine (the technology is the same as is used for https)

I did a little googling, and found This Article which may explain your options better.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
In 2017, ransomware will become so virulent and widespread that if you aren’t a victim yourself, you will know someone who is.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

830 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