Home > Ask the SQL Server Experts > Kevin Kline - Monitoring/Administration Questions & Answers > Built-in facility to encrypt column data
Ask The SQL Server Expert: Questions & Answers
EMAIL THIS

Built-in facility to encrypt column data

Kevin Kline EXPERT RESPONSE FROM: Kevin Kline

Pose a Question
Other SQL Server Categories
Meet all SQL Server Experts
Become an Expert for this site


Expert advice on database administration
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 06 July 2005
Is there any built-in facility to encrypt a column data in SQL Server?


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Kevin Kline - Monitoring/Administration
Publisher residing on a different domain
SQL Mail troubleshooting
Installing SQL Server client tools on Windows XP Pro
Incorrect drive letter assignments
Installing SQL Server 2000 Enterprise Edition on Windows XP
Identifier field in Microsoft's SQL Server
Getting scheduled DTS packages to run
Performance problems after installing Windows Service Pack 4
Improve performance by spreading data
Difficulties transferring stored procedures and triggers

SQL Server Security
Password cracking tools for SQL Server
Meet compliance requirements with improved database security practices
Hardening the network and OS for SQL Server security
Securing the server and database in SQL Server
SQL Server security made simple and sensible
Blog: Protect your databases from the internal threat
Setting up SQL Server Service Broker for secure communication
The keys to database backup protection for SQL Server
Understanding transparent data encryption in SQL Server 2008
The fine line between not encrypting your databases and breach notification

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
data corruption  (SearchSQLServer.com)
data hiding  (SearchSQLServer.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


There is no documented facility for encrypting column data in SQL Server 2000. You can encrypt other elements of SQL Server, however, including:

  • Login and application role passwords stored in SQL Server
  • Any data sent between the client and the server as network packets
  • Stored procedure definitions
  • User-defined function definitions
  • View definitions
  • Trigger definitions
  • Default definitions
  • Rule definitions

If you're willing to get into the world of undocumented functions and such, then you might want to consider pwd_encrypt( ) and pwd_compare( ). You can use pwd_encrypt to store an encrypted value into a column. You will never know what the value is, nor can you view it. But you can compare values to it, such as in a WHERE clause, using the pwd_compare function. I do NOT recommend this approach!


Do you have comments on this Ask the Expert Q&A? Let us know.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SQL Solutions - SQL Database Design
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts