Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
SQL Server 2005 Security
»
Automatic Encryption / Decryption
Automatic Encryption / Decryption
Rate Topic
Display Mode
Topic Options
Author
Message
patrick.fiche
patrick.fiche
Posted Thursday, September 18, 2008 9:37 AM
Forum Newbie
Group: General Forum Members
Last Login: Wednesday, August 29, 2012 4:02 AM
Points: 9,
Visits: 98
Hi,
I'm using SQL Server 2005 and want to take benefit of SQL Server 2005 encryption capabililties.
I would like to crypt some sensitive data in a table.
We use to access data only through SPs which are called automatically by external programs.
I was wondering how secure it was to crypt / encrypt from a stored procedure as it seems that all Encryption functions need some kind of password.
I could encrypt the SP itself but you can find so many tools to decrypt SPs that it does not seem a very secure solution.
Does anyone has an idea on the way to secure the data in this case ? Use of CLR function or Extended SPs or anything else that I did not think about ?
I don't want the encryption to be managed by the application but only at SQL Server level...
Thanks
Post #571897
matt stockham
matt stockham
Posted Tuesday, September 23, 2008 9:36 PM
Right there with Babe
Group: General Forum Members
Last Login: Thursday, March 14, 2013 10:22 AM
Points: 750,
Visits: 2,937
Depends on the situation, but if this is in-house and you aren't sending the SP out to anyone then just grant execute rights on it. If you don't want sysadmins to see the SP either then I'm not sure that it is possible.
Post #574876
Jack Corbett
Jack Corbett
Posted Wednesday, September 24, 2008 7:38 AM
SSChampion
Group: General Forum Members
Last Login: Yesterday @ 12:22 PM
Points: 10,571,
Visits: 11,871
I find this to be one of the failings of SQL Server encryption. My personal opinion is that you should handle encryption in the application, I know you don't want to do that, but I think it's the best place. If you are encrypting/decrypting in the database then the data is not secured between application and database.
If you really want it in the DB then I'd go with the CLR.
Jack Corbett
Applications Developer
Don't let the good be the enemy of the best. --
Paul Fleming
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
How to Post Performance Problems
Crosstabs and Pivots or How to turn rows into columns Part 1
Crosstabs and Pivots or How to turn rows into columns Part 2
Post #575190
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.