shan .... have u got the soultion of the problem u r talking about...i.e.If the private decrypt key is on the server then it is pointless to encrypt the document.
i also want to do the same thing that u r talking about...i.e. i want to encrypt the data and store it in the database and later at some point of time i'll take the data from the databse and decrypt it...if some body has some suggestions regarding this...pls let me know...thanks a lot
Shan wrote:
I am using SSL to securly transmit data/documents from my clients to my web server. However, I need to store data/documents on the server in an encrypted format.
You mentioned you use PGP for encrypting data. How do you encrypt the data then decrypt it to send it to a client when they request the document/data. (i.e. I place a encrypted word document on my web site. My client then requests the document.) How do I decrypt it to send it to him so that he can view it?
If the private decrypt key is on the server (that i need to decrypt the document) then it is pointless to encrypt the document.
Any suggestions you have on this would be very helpful!
Thanks!