Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

CREATE DATABASE ENCRYPTION KEY

Posted on 2016-11-06
1
Medium Priority
?
130 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 32

Accepted Solution

by:
Pawan Kumar earned 2000 total points
ID: 41876147
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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

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 the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

610 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