Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Security / March 2006

Tip: Looking for answers? Try searching our database.

SQL2k table encryption

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mecn - 29 Mar 2006 22:28 GMT
Is sql2k sp4 has internal tables encryption function?
I need to encrypt the tables in one database?

Don't know how?

ANy ideas?

Thanks
Mike Hodgson - 29 Mar 2006 22:40 GMT
There is no in-built encryption functionality with SQL 2000 (except for
the the undocumented pwdencrypt() and pwdcompare() functions but they
almost certainly won't be of any use to you).  You'll need to either
acquire a 3rd party encryption package or write your own with something
like VisualStudio (you could either write extended stored procedures,
which is pretty easy with VS, to encrypt & decrypt the data or handle
the encryption on a middle tier rather than in the data layer).

--
*mike hodgson*
http://sqlnerd.blogspot.com

>Is sql2k sp4 has internal tables encryption function?
>I need to encrypt the tables in one database?
[quoted text clipped - 6 lines]
>
>  
mecn - 29 Mar 2006 22:51 GMT
Mike,

Thanks a lot, It's very helpful to me.

Henry
 There is no in-built encryption functionality with SQL 2000 (except for the the undocumented pwdencrypt() and pwdcompare() functions but they almost certainly won't be of any use to you).  You'll need to either acquire a 3rd party encryption package or write your own with something like VisualStudio (you could either write extended stored procedures, which is pretty easy with VS, to encrypt & decrypt the data or handle the encryption on a middle tier rather than in the data layer).

 --
 mike hodgson
 http://sqlnerd.blogspot.com

 mecn wrote:
Is sql2k sp4 has internal tables encryption function?
I need to encrypt the tables in one database?

Don't know how?

ANy ideas?

Thanks

 
hongju - 31 Mar 2006 05:42 GMT
S2k have Encryption Function but undocumented.

select ENCRYPT('hello')
select CONVERT(nvarchar(100),ENCRYPT('hello'))

Exactly this function don't support standard Encryption.

You can support encryption using extended procedure.

MD5 Hashing example:
http://www.codeproject.com/database/xp_md5.asp

"mecn"님이 작성한 내용:

> Is sql2k sp4 has internal tables encryption function?
> I need to encrypt the tables in one database?
[quoted text clipped - 4 lines]
>
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.