Solved

CREATE DATABASE ENCRYPTION KEY

Posted on 2016-11-06
1
41 Views
Last Modified: 2016-11-09
Hi experts

i have execute this code
USE master;
ALTER DATABASE ConfidentialDB
SET ENCRYPTION ON;

whats the mean?
i execute this select
SELECT * FROM ConfidentialDB.dbo.SecretKeys
i can view the data,

which means that the db this encrypted? what are the advantages? although the bd is encrypted I can see the data in the table
0
Comment
Question by:enrique_aeo
1 Comment
 
LVL 17

Accepted Solution

by:
Pawan Kumar Khowal earned 500 total points
Comment Utility
Someone takes your log file, data file or back up file and take it any where so in order to make it safe we do Transparent Data Encryption.

Transparent Data Encryption (TDE) encrypts SQL Server data and log files. It performs real-time I/O encryption and decryption of the data and log files. It uses a database encryption key (DEK), which is stored in the database boot record for availability during recovery.

You can check your files @ depending on the version-

C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA
C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Log

Read more here -

https://msdn.microsoft.com/en-us/library/bb934049.aspx
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

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.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

772 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now