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

sql 2005 encryption Expand / Collapse
Author
Message
Posted Tuesday, December 9, 2008 12:50 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, November 6, 2014 2:19 PM
Points: 111, Visits: 482
I want to do encryption in sql 2005 without modfiing any exsiting data structure or application? it that possible in sql 2005; pls hlep; thanks in advance.
Post #616435
Posted Tuesday, December 9, 2008 1:31 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Yesterday @ 7:04 AM
Points: 1,163, Visits: 1,969
I do not believe you're able to do that in 2005 ... 2008 offers transparent data encryption, so perhaps this could be good justification to upgrade :). Don't quote me though, as encryption is one of my weakest areas as I haven't really used it to much outside of testing so I'm not entirely sure if there are any other options available in 2005.

---
SQLSlayer
Making SQL do what we want it to do.

Post #616474
Posted Tuesday, December 9, 2008 1:44 PM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, October 30, 2014 8:04 AM
Points: 149, Visits: 1,028
I'm not 100% sure if you are trying to encrypt all of your data or what you are looking for, but there is an encryption option available on the networking setup of 2005.

Use the SQL Server Configuration Manager, expand the networking configuration, right click on Protocols and select Properties. Once you are there you can set Force Encryption. However, I think this only encrypts the information being sent over the wire.

Have fun!


Regards,

Irish
Post #616484
Posted Tuesday, December 9, 2008 2:57 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 10:25 AM
Points: 40,385, Visits: 36,827
Joe (12/9/2008)
I want to do encryption in sql 2005 without modfiing any exsiting data structure or application? it that possible in sql 2005; pls hlep; thanks in advance.


What do you want to encrypt and why? Who are you trying to hide the data from?



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #616545
Posted Wednesday, December 10, 2008 2:11 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, November 6, 2014 2:19 PM
Points: 111, Visits: 482
Thanks for the reply;
GilaMonster;
I want to encrypt the entire DB so that if someone steal the DB, then they are not able to attach it or restore it;
Post #617394
Posted Thursday, December 11, 2008 12:11 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 10:25 AM
Points: 40,385, Visits: 36,827
Joe (12/10/2008)
Thanks for the reply;
GilaMonster;
I want to encrypt the entire DB so that if someone steal the DB, then they are not able to attach it or restore it;


For that you need SQL 2008's transparent database encryption. 2005's encryption is not designed for that, as the keys are within the database itself.



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #617629
Posted Friday, December 12, 2008 8:34 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Friday, March 14, 2014 3:15 PM
Points: 802, Visits: 935
Gail: what if I were to encrypt a single column on request from one of our clients..

1.How is the process supposed to work?
2.How would the process of querying the table with ref to this column work after encryption?

Thanks!!


The_SQL_DBA
MCTS

"Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives."
Post #618641
Posted Friday, December 12, 2008 9:25 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 10:25 AM
Points: 40,385, Visits: 36,827
The_SQL_DBA (12/12/2008)


1.How is the process supposed to work?


That's a bit of a vague question.

How would the process of querying the table with ref to this column work after encryption?


If you query it without opening the key and calling the decryption function, you'll see the encrypted data.
May I suggest you read over the encryption section in BoL. It's fairly good. If you have specific questions afterwards, post them.



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #618675
Posted Friday, December 12, 2008 9:52 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Friday, March 14, 2014 3:15 PM
Points: 802, Visits: 935
Yes- I do believe I need to catchup a lot with the encryption feature on SQL. I think this is the right time I do it.

Thanks Gail for your comments and views!


The_SQL_DBA
MCTS

"Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives."
Post #618720
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse