Re: Why use encryption at all?
- From: "Adam Machanic" <amachanic@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 5 Nov 2007 18:12:46 -0500
What if the cracker has not actually gained access to your database, but merely to your data files? Encryption will keep him or her from getting your data via a hex editor. Or, what if you have multiple keys for different security principals, and the cracker only gains access to one principal? The other principal's keys will help protect some of the data so that the cracker can't get everything. Yes, if the cracker gets SA you're pretty much screwed, and that's why it's your job to lock down admin access much more thoroughly than non-admin principals...
--
Adam Machanic
SQL Server MVP - http://sqlblog.com
Author, "Expert SQL Server 2005 Development"
http://www.apress.com/book/bookDisplay.html?bID=10220
"Jason" <Jason@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:A6CBA42C-E707-4A69-8737-029009C73E13@xxxxxxxxxxxxxxxx
I've recently spent a bit of time reviewing data encryption in SQL Server
2005 and understand all the how's and what's and when's. But I still don't
understand why. Many of my readings point to it as being the last layer of
security in case an intruder has gained access to your database. However, I
cannot see how it actually helps. For example, once hAckErKiD has gained
access to my db, what prevents him from doing the following:
OPEN SYMMETRIC KEY keyICanFindInSymmetricKeysCatalogView
DECRYPTION BY CERTIFICATE certICanFindInCertificatesCatalotView
SELECT fname, lname, Convert(varchar, DecryptByKey(SSN))
FROM HR.Employees
Am I missing something? Even if there were several keys and several
certificates/asym keys, it would seem encryption is a lot easier to get
through than hacking the sa account. So, why even use it? If your security
principals and securables are all well set up, and someone does get through,
it seems the final gate (encryption) is actually more like a screen door.
.
- Prev by Date: Re: Specifying a logon account for SQL Server 2005 services
- Next by Date: Re: challenge (permission denied) no sense, please help !
- Previous by thread: Re: challenge (permission denied) no sense, please help !
- Next by thread: Can not Log in with windows user after installing active directory
- Index(es):
Relevant Pages
|
|