August 24, 2004 at 5:29 am
Hi, I read that the above clause encrypt text of a SQL object (SP, view....)
How can an administartor or the developer who wrote can read it back(Is it possible to decrypt it)?
August 24, 2004 at 6:20 am
It is very possible to decrypt, especially if you have sysadmin rights. SysAdmin rights:
dOMNAR's SysComments Decryptor
If you don't, but you have CREATE PROC rights, you'll need shoeboy's script (which is in various forms here and around the Internet).
K. Brian Kelley
@kbriankelley
September 4, 2004 at 3:49 am
Scripts of your SP is in syscomments.text
column. I Use this script to find SP by
text (%???????????%) it contains
select name, count(*)
from
(
select name from syscomments C inner join sysobjects O
on O.id = C.id where C.[text] like '%???????????%' and O.type = 'p'
) T
group by name order by name
September 4, 2004 at 6:50 am
Hi Denis,
If when a stored procedure or view is created WITh ENCRYPTION, this technique won't work. However, with the ability to decrypt stored procedures so readily available, it doesn't do a whole lot to try and use SQL Server's encryption on them.
K. Brian Kelley
@kbriankelley
September 11, 2004 at 1:50 pm
Thanks for all of you
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply