May 7, 2004 at 5:11 am
Is there anyway to encrypt a stored procedure? like in 'master', you cant edit any of the stored procedures?
May 7, 2004 at 5:15 am
Look at CREATE PROCEDURE in BOL
CREATE PROC [ EDURE ] [ owner. ] procedure_name [ ; number ]
[ { @parameter data_type }
[ VARYING ] [ = default ] [ OUTPUT ]
] [ ,...n ]
[ WITH
{ RECOMPILE | ENCRYPTION | RECOMPILE , ENCRYPTION } ]
[ FOR REPLICATION ]
AS sql_statement [ ...n ]
You might also want to search the web on how easy it is to decrypt them back again
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
May 7, 2004 at 5:19 am
Another thing you can review is the db_denydatawriter. This will allow access to the DB and they won't be able to change anything.
Good Hunting!
AJ Ahrens
webmaster@kritter.net
May 7, 2004 at 5:57 am
Thanks, the encryption works, any suggestions on where to find the decryption
May 7, 2004 at 6:07 am
Hey, I won't tell you that directly. But a good start would be to google on those words.
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply