Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
See more:
I have a form on an unsecured website (HTTP.) When the user clicks Submit, data is POSTed to a secure website (HTTPS.)

Is the data encrypted?

In other words, does encryption depend on the protocol of the current page, the URL to which the data is being submitted, or will it always be encrypted if one of the two sites is using SSL?

I know, I know, the obvious solution would be to secure the first site. Unfortunately, that is not an option at this time.
Posted
Comments
Sergey Alexandrovich Kryukov 1-Apr-11 18:50pm    
Good question, I think. My 5.
--SA

1 solution

No, it's not encrypted when you send the initial POST request. The response from the server to that request will setup the encryption session and everything after that will be encrypted, so long as it stays on HTTP.
 
Share this answer
 
Comments
Gregory Gadow 2-Apr-11 0:34am    
That's what I thought would be the case, thanks for the information.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900