Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
hamipers
Starting Member
5 Posts |
Posted - 2005-11-21 : 08:12:32
|
| I have a database for an online store. I have a table for Credit and a table saving the payments records. I have encrypted the credit values and users passwords. I got a stored procedures doing a transaction to deduct the total amount of products from the user's credit. Since I have encrypted the credit in an ASP.NET application, and SQL Server has no idea how i have done that and I have no ability to decrypt data in the stored procedure, I wonder how i can do this job properly.Any help would be greatly appreciatedThank you so much in advance |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-11-21 : 08:16:15
|
you can't.[EDIT]ok, maybe you can with sp_OA* sproc family... look that up in BOL.[/EDIT]one way to do this is to have a table create table CreditCards (id uniqueidentifier, encryptedNumber varchar(50))this way you have credit cards encrypted only in one place and you can use it's guid as a reference in your db.Go with the flow & have fun! Else fight the flow |
 |
|
|
|
|
|