PDA

View Full Version : Adding encryption to HTML for privacy on forms?



Steve Landavazo
12-11-2004, 03:15 AM
Hi all!

Can anyone tell me how to add encryption to a form that that I am using on my web site with e-mail?

I am wanting to protect my customers privacy after they send the information from the form to my e-mail address, and need to know what code to add and where. If you could be specific that would be very much apprecaited as I'm still very new at this...

Thanks!

Steve

Markll
12-12-2004, 01:21 PM
Kudos to you for taking the initiative to protect and respect your visitor's privacy.

What you want to do is obtain an SSL certificate for site. Many hosting providers have a shared certificate, check to see if yours does. You will then make the link to your form page https rather than http. The https protocol will initiate the encryption certificate and give your visitors the security they deserve.

Kellare
12-12-2004, 01:44 PM
If the data is being emailed directly from the website I think you'll also need to get a certificate for the mail server and your mail client if you're worried about it being intercepted. If the information is being stored on the server this won't be required though.

You can also encrypt the data within the webpage if the client has javascript enabled in which case you wouldnt need any certificates at all but the email would require decrypting before you could read it.

There's a system here -> http://mysite.mweb.co.za/residents/c.meijer/meringue.htm

that provides the javascript encryption and offers a mail program that lets you read the emails.

Good luck with it

Steve Landavazo
12-12-2004, 02:24 PM
Thank you for your help! I'll post how it went.

Steve

cyanide
12-12-2004, 09:42 PM
As Kellare has alluded to....
A standard SSL certificate is not going to protect a form-email page. It only protects information that is passed from page to page.

I sure hope you're not doing this to receive sensitive client information, such as credit card numbers. This is very bad and not secure