0
How to Encrypt Column in SQL Server?
New Here
,
/t5/coldfusion-discussions/how-to-encrypt-column-in-sql-server/td-p/1018660
Sep 11, 2006
Sep 11, 2006
Copy link to clipboard
Copied
Hi all,
I am using ColdFusion MX 7 and Microsoft SQL Server 2000 database. I have a column that contains social security numbers of my users and am feeling the need to encrypt that column.
Trouble is, I have no clue how to do this in SQL Server or how I could display the data from that column in my web app once the column is encrypted.
Can anyone offer any suggestions?
Thanks in advance!
I am using ColdFusion MX 7 and Microsoft SQL Server 2000 database. I have a column that contains social security numbers of my users and am feeling the need to encrypt that column.
Trouble is, I have no clue how to do this in SQL Server or how I could display the data from that column in my web app once the column is encrypted.
Can anyone offer any suggestions?
Thanks in advance!
TOPICS
Database access
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/coldfusion-discussions/how-to-encrypt-column-in-sql-server/m-p/1018661#M92306
Sep 11, 2006
Sep 11, 2006
Copy link to clipboard
Copied
Here's one way...
To encrypt:
URLEncodedFormat(Encrypt(yourSStoencrypt, application.encKey)) then
store this value in MSSQL
To decrypt:
Decrypt(URLDecode(yourSStodecryptfromDB), application.encKey)
HTH
--
Tim Carley
www.recfusion.com
info@NOSPAMINGrecfusion.com
To encrypt:
URLEncodedFormat(Encrypt(yourSStoencrypt, application.encKey)) then
store this value in MSSQL
To decrypt:
Decrypt(URLDecode(yourSStodecryptfromDB), application.encKey)
HTH
--
Tim Carley
www.recfusion.com
info@NOSPAMINGrecfusion.com
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
mikemat
AUTHOR
New Here
,
LATEST
/t5/coldfusion-discussions/how-to-encrypt-column-in-sql-server/m-p/1018662#M92307
Sep 11, 2006
Sep 11, 2006
Copy link to clipboard
Copied
Thanks Tim. I'll give that a try.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

