{"id":21966,"date":"2014-05-19T13:41:27","date_gmt":"2014-05-19T17:41:27","guid":{"rendered":"http:\/\/www.opensource.im\/?p=21966"},"modified":"2014-05-19T13:41:27","modified_gmt":"2014-05-19T17:41:27","slug":"transparent-data-encryption-tde-in-sql-server","status":"publish","type":"post","link":"https:\/\/euvolution.com\/open-source-convergence\/encryption\/transparent-data-encryption-tde-in-sql-server.php","title":{"rendered":"Transparent Data Encryption (TDE) in SQL Server"},"content":{"rendered":"<p><p>Introduction    <\/p>\n<p>    Encryption brings data into a state that cannot be interpreted    by anyone who does not have access to the decryption key,    password, or certificates. Though encryption does not restrict    the access to the data, it ensures that if data loss happens,    then in that case data is useless to the person who does not    have access to the decryption key\/password\/certificates. Though    when you use encryption, there should be a maintenance strategy    for passwords, keys, and certificates.  <\/p>\n<p>    To meet the demands of regulatory compliance and corporate data    security standards, SQL Server allows you to enable encryption    at column\/cell level or on the database level. You can even use    file level encryption provided by Windows for database files.  <\/p>\n<p>    Though there are several ways\/levels to implement encryption in    SQL Server, I am going to focus on Transparent Data Encryption    (TDE) in this article, which was introduced in SQL Server 2008    and available in later releases.  <\/p>\n<p>    Transparent Data Encryption (TDE) is a feature introduced in    SQL Server 2008 and available in later versions for bulk    encryption at the database file level (data file, log file and    backup file) i.e. the entire database at rest. Once enabled for    a database, this feature encrypts data into pages before it is    written to the disk and decrypts when read from the disk. The    best part of this feature is, as its name implies, its    completely transparent to your application. This means    literally no application code changes (only administrative    change to enable it for a database) are required and hence no    impact on the application codefunctionalities when enabling    TDE on a database being referenced by that application.  <\/p>\n<p>    If there is a requirement to meet the demands of regulatory    compliance and overall concern for data privacy, as a DBA you    just need to enable it at the database level and rest of things    are taken care by SQL Server to ensure data files, log files    and even that specific database backup files are encrypted to    prevent unauthorized access to the data in the TDE enabled    database.  <\/p>\n<p>    When you enable or disable TDE, the encryption and decryption    operations are scheduled on background threads (called the    encryption scan or scan - that scans all database files for    encryption when enabling or decryption when disabling TDE) by    SQL Server. You can view the status of these operations using    the catalog views and dynamic management views as demonstrated    next.  <\/p>\n<p>    Please note, as I said before TDE works on data at rest for the    entire database; in other words, it encrypts data when writing    to disk and decrypts it when reading from disk at I\/O level    through the buffer pool. This means, data in the buffer pool    remains there in clear text format. Hence, if you want to    protect data in the buffer pool with encryption, you need to    employ a different technique.  <\/p>\n<p>    These are the steps you need to perform to enable TDE for a    database, assuming you have the required permissions for    creating a database master key and certificates in the master    database and CONTROL permissions on the user database.  <\/p>\n<\/p>\n<p><!-- Auto Generated --><\/p>\n<p>See the original post here:<br \/>\n<a target=\"_blank\" href=\"http:\/\/www.databasejournal.com\/features\/mssql\/transparent-data-encryption-tde-in-sql-server.html\/RK=0\/RS=MJgs56yfMlG6UsKyH3.ODmk7p64-\" title=\"Transparent Data Encryption (TDE) in SQL Server\">Transparent Data Encryption (TDE) in SQL Server<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p> Introduction Encryption brings data into a state that cannot be interpreted by anyone who does not have access to the decryption key, password, or certificates. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45],"tags":[],"class_list":["post-21966","post","type-post","status-publish","format-standard","hentry","category-encryption"],"_links":{"self":[{"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/posts\/21966"}],"collection":[{"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/comments?post=21966"}],"version-history":[{"count":0,"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/posts\/21966\/revisions"}],"wp:attachment":[{"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/media?parent=21966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/categories?post=21966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/tags?post=21966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}