Encryption in SQL Server 2005
- From: "Jim Youmans" <jdyoumans@xxxxxxxxx>
- Date: 13 Apr 2006 14:24:37 -0700
I have three questions that I have not been able to find answers for.
Maybe this is because they are very obvious to everyone but me. Any
help would be greatly appreicated.
1. Are keys and certificates restricted (or can be restricted) at the
user/schema level? I know that tables can be restricted but if I have
a table with two encrypted columns (one by key A and one by Key B) and
group 1 and group 2 both have access to the table, I want goup 1 to
read the data encrypted by key A and not key B and vise versa for group
2.
2. I have a database with encrypted data that is replicated to a
reporting server and DR server. How does that work with the keys? Can
they be exported and imported on the servers in question and be OK?
Same question for restores.
3. And now the really dumb one. If I have a table with column B
encrypted, can I do a "Select DecryptByKey(ColumnB) From TableA" as
long as I have opened my key correctly? When I try this I either get
junk, NULL, or the first letter of the cleartext and that is it.
Links to articles or blogs would be greatly appreicated!!!!
Jim Youmans
.
- Follow-Ups:
- Re: Encryption in SQL Server 2005
- From: Laurentiu Cristofor [MSFT]
- Re: Encryption in SQL Server 2005
- From: Jim Youmans
- Re: Encryption in SQL Server 2005
- Prev by Date: Encryption in SQL Server 2005
- Next by Date: Re: Encryption in SQL Server 2005
- Previous by thread: Encryption in SQL Server 2005
- Next by thread: Re: Encryption in SQL Server 2005
- Index(es):
Relevant Pages
|
|