|
|
|
SSCommitted
      
Group: Moderators
Last Login: Monday, August 13, 2012 1:06 PM
Points: 1,928,
Visits: 224
|
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Friday, January 02, 2004 12:00 AM
Points: 37,
Visits: 1
|
|
Encrypt function in T-SQL is fine what about Decryption of encrytion columns. kindly tell us how to do it!
|
|
|
|
|
SSCommitted
      
Group: Moderators
Last Login: Monday, August 13, 2012 1:06 PM
Points: 1,928,
Visits: 224
|
|
quote:
Encrypt function in T-SQL is fine what about Decryption of encrytion columns. kindly tell us how to do it!
As I mentioned in the article, the only way to decrypt is with a comparion techinque with a WHERE clause. That's why if you would like to use a more advanced encryption/decryption system, you may have to resort to COM. Les Smith will be having some excellent articles coming out this week and next about how to use this.
Brian Knight bknight@sqlservercentral.com http://www.sqlservercentral.com/columnists/bknight
Brian Knight Free SQL Server Training Webinars
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, January 06, 2009 3:31 AM
Points: 3,
Visits: 2
|
|
Supposing im creating a personnel database and want to store national insurance numbers etc , i want this to be encrypted in the table., But throught the client application front end , a personnel details administrator should be able to see the unencrypted data .. how would i do this ?
Santosh Benjamin
Santosh Benjamin
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Tuesday, March 26, 2013 5:32 PM
Points: 125,
Visits: 453
|
|
This function does not exsist in 2000. So inless your living in the Stone age move on.
|
|
|
|
|
SSCommitted
      
Group: Moderators
Last Login: Monday, August 13, 2012 1:06 PM
Points: 1,928,
Visits: 224
|
|
quote:
Supposing im creating a personnel database and want to store national insurance numbers etc , i want this to be encrypted in the table., But throught the client application front end , a personnel details administrator should be able to see the unencrypted data .. how would i do this ?
Your best bet then would be to create some type of custom middle-ware that encrypts/decrypts your data. Les Smith (http://www.sqlservercentral.com/columnists/lsmith) has developed a few methods on doing this. You can use these to get ideas. You could possibly create a user defined function to do something like this as well. Possibly wrap an extended stored procedure into it to encrypt/decrypt it.
Brian Knight bknight@sqlservercentral.com http://www.sqlservercentral.com/columnists/bknight
Brian Knight Free SQL Server Training Webinars
|
|
|
|
|
SSChasing Mays
      
Group: General Forum Members
Last Login: Thursday, July 22, 2010 9:06 AM
Points: 632,
Visits: 79
|
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Thursday, August 29, 2002 12:00 AM
Points: 72,
Visits: 1
|
|
Now that's a cool tool. Frebbie's not too bad, and $98.00 for the full version seems a fair price for someone who needs this functionality! Are you connected with the author?
|
|
|
|
|
SSChasing Mays
      
Group: General Forum Members
Last Login: Thursday, July 22, 2010 9:06 AM
Points: 632,
Visits: 79
|
|
quote:
Are you connected with the author?
No, in fact I haven't even tried using it myself yet. I cant even remember when I found it, but have keep a bookmark to it, I'm sure it will come in usefull one day.
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Thursday, May 09, 2013 12:17 AM
Points: 174,
Visits: 95
|
|
I have little doubt about this. Though data is encrypted, that can be read easily. If I inserted data like 'app' with encryption, that is shown as 'a[Odd Char]p[Odd Char]p[Odd Char]'. I highly appreciate your reply.
|
|
|
|