ianmac
08-18-2009, 05:21 AM
Hello,
I have a DASP website that I'm putting together. I want to be able to encrypt some strings in the database (customer email addresses and other personal details).
I've looked around and found a few links to tutorials on using AES, DPAPI etc., but have to admit that I am novice with encryption and got a bit lost. I came to these forums looking for some example code and got even more lost when I saw a few posts saying that there are some issues with using shared hosting (such as DASP) and some of these encryption methods due to problems with admin access requirements etc.
I don't want to spend lots of time making something work on my test machine, only to find that I can't deploy it to my DASP-hosted production site.
Can anyone out there who has implemented something similar give me some "for dummies" instructions on how to implement a suitable solution that encrypts data in the database but is as secure as possible in terms of hiding keys from potential hackers etc.? I am under the impression that AES/Rjindael encryption is the best to go for, but I am open to any suggestions. Example code would be a great help, especially if you know it works in the DASP hosting environment.
Thanks very much..
I have a DASP website that I'm putting together. I want to be able to encrypt some strings in the database (customer email addresses and other personal details).
I've looked around and found a few links to tutorials on using AES, DPAPI etc., but have to admit that I am novice with encryption and got a bit lost. I came to these forums looking for some example code and got even more lost when I saw a few posts saying that there are some issues with using shared hosting (such as DASP) and some of these encryption methods due to problems with admin access requirements etc.
I don't want to spend lots of time making something work on my test machine, only to find that I can't deploy it to my DASP-hosted production site.
Can anyone out there who has implemented something similar give me some "for dummies" instructions on how to implement a suitable solution that encrypts data in the database but is as secure as possible in terms of hiding keys from potential hackers etc.? I am under the impression that AES/Rjindael encryption is the best to go for, but I am open to any suggestions. Example code would be a great help, especially if you know it works in the DASP hosting environment.
Thanks very much..