How to encrypt a big list of sp’s at once

5 pts.
Tags:
Encrypt
SQL
SQL stored procedures
Stored Procedures Optimization
I want to encrypt a large amount of store procedures (around 4000)at once,so they wouldn't be able for the final user. As this operation needs to be done several times in the future and taking in consideration that doing this manually will take a long time, I'll like to know if there is a way to do this with some sql option, or a tip to create an sp to do it. Thanks in advance for your help.

Software/Hardware used:
SQL Server 2005
ASKED: November 17, 2009  7:52 PM
UPDATED: November 18, 2009  1:46 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

No there isn’t. You have to do an ALTER PROCEDURE specifying the WITH ENCRYPTION option. Do keep in mind that this encryption is very easy to undo. There are plenty of freeware software packages out there to decrypt the procedures.

It also makes things look very unfriendly to the DBA when you encrypt the procedures as DBAs don’t want anything running against the database that they can’t see.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following