Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

TDE and SQL Server Databases Expand / Collapse
Author
Message
Posted Thursday, August 16, 2012 12:01 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 12:03 AM
Points: 5,970, Visits: 12,874
Comments posted to this topic are about the item TDE and SQL Server Databases

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1345681
Posted Thursday, August 16, 2012 6:19 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, March 12, 2014 9:17 AM
Points: 1, Visits: 95
Could you elaborate on your bullet point about TDE not encrypting databases used in replication topologies? I'm thinking specifically of log-shipping.
Post #1345883
Posted Thursday, August 16, 2012 6:23 AM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Yesterday @ 11:48 AM
Points: 510, Visits: 1,686
nice article. key points covered very well.
we use TDE. we have about half the databases encrypted. the others are not.
i noticed less than 5% increase in CPU usage implemening TDE. I find it to be a great feature.
Post #1345889
Posted Thursday, August 16, 2012 7:25 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 12:03 AM
Points: 5,970, Visits: 12,874
Geoff A (8/16/2012)
nice article. key points covered very well.
we use TDE. we have about half the databases encrypted. the others are not.
i noticed less than 5% increase in CPU usage implemening TDE. I find it to be a great feature.

Hi

thanks for your feedback. yes it is a great feature but it doesn't work well in all scenarios and this is what users should be aware of before implementing.

As an example, If all you want TDE for is to protect the disk files then NTFS ACLs would probably be less hassle and more appropriate that coupled with securing the rest of the Windows server platform


-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1345947
Posted Thursday, August 16, 2012 7:29 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 12:03 AM
Points: 5,970, Visits: 12,874
alex.thompson (8/16/2012)
Could you elaborate on your bullet point about TDE not encrypting databases used in replication topologies? I'm thinking specifically of log-shipping.

Replication does not replicate the database encryption calls, they have to be made manually.
Log shipping is not replication. See the following extract from Books Online

SQL Server Books Online
If a database is being used in database mirroring or log shipping, both databases will be encrypted. The log transactions will be encrypted when sent between them.


-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1345954
Posted Thursday, August 16, 2012 8:07 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Yesterday @ 2:09 PM
Points: 46, Visits: 218
I've tested TDE with log shipping. It works fine with it. You just have to install the same certificate onto the secondary servers that protects the DEK of the database.

I think he's referring to transactional, snapshot, and merge replication and TDE doesn't protect replicated objects unless the subscriber also implements TDE of it's own.
Post #1345987
Posted Thursday, August 16, 2012 8:17 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Yesterday @ 2:09 PM
Points: 46, Visits: 218
Nice article.

There's two more things that TDE does not protect...

1) Data in memory. Anyone with access to RAM, or who can cause a core dump and grab a copy of it can read whatever was in memory at the time. If you're concerned about this - at the very least clean up core dump files regularly.
2) Data in transit. The article does say that TDE only protects data at rest. I just feel that this needs to be emphasized. If you want to protect data on the network, you need to enable network encrpytion as well.

I'm hoping that Microsoft will address the encryption+compression problem in the next release. It's really not that difficult. Decrypt the backup stream, compress it, and re-encrypt it. Sure it will add CPU cycles, but if your compressing backups and encrypting databases, you're probably not concerned about the few extra CPU cycles anyway.

I use compressed backups and my own testing has found that TDE increases the backup size by almost double. YMMV.
Post #1345995
Posted Thursday, August 16, 2012 8:44 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 12:03 AM
Points: 5,970, Visits: 12,874
chuck.hamilton (8/16/2012)
2) Data in transit. The article does say that TDE only protects data at rest. I just feel that this needs to be emphasized. If you want to protect data on the network, you need to enable network encrpytion as well.

When used with log shipping and mirroring the log records are encryted during transit


-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1346023
Posted Thursday, August 16, 2012 5:30 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Sunday, March 02, 2014 6:38 PM
Points: 11, Visits: 24
I'm surprised there isn't more mention generally about the fact that TDE is only available in SQL Enterprise edition.
This seems to be where it is least needed as the data and backup files in an Enterprise environment should be kept as secure as query access to the DBMS (which is unencrypted).

I would think SQL Standard edition is where this feature would be of most value as there is a greater likelihood of backups being handled or stored in an insecure manner.
Post #1346289
Posted Thursday, August 16, 2012 6:35 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 12:03 AM
Points: 5,970, Visits: 12,874
guy.stephens (8/16/2012)
I'm surprised there isn't more mention generally about the fact that TDE is only available in SQL Enterprise edition.
This seems to be where it is least needed as the data and backup files in an Enterprise environment should be kept as secure as query access to the DBMS (which is unencrypted).

I would think SQL Standard edition is where this feature would be of most value as there is a greater likelihood of backups being handled or stored in an insecure manner.

Yes fair comment.
Otherwise what did you think of the article content


-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1346309
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse