Discussion Locked

SQL Database Security

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello,

Is there a way or a tool to use to encrypt specific columns of data or rows of data so if the database security is compromised the data itself is not ?

For example, if we have credit card info on the database and we want to encrypt it is there a way or a tool ?

Thanks

3 replies

by stillatit

It depends on whether you have access to the code that is using the database.

If you do, have the program which puts the data into the database encrypt it (pick any algorithm and key), and have the application that uses the database decrypt it using the matching algorithm and key. Since you are only dealing with a few bytes, the speed of encryption should not be a factor.

Another method, which also requires code access, is to put only part of the CC in the field, and put the rest in a second database on another server.

If you are using a canned package which you cannot really change (like a storefront package), I don't think there is not a lot you can do as far as changing the data.

Good luck.

This discussion is closed to new replies.