NullVoxPopuli
NullVoxPopuli

Reputation: 65143

How do I encrypt an HTML field in a form, and then decrypt it on the server?

Or better yet, is there a way I can enable SSL for just a form?

Due to some content on the page being from other sites, The page throws warnings about unencrypted data ( I think, it's been a while ). Otherwise, I'd just use SSL on the entire page and not worry about it.

Upvotes: 0

Views: 163

Answers (1)

Luis
Luis

Reputation: 1294

If you don't encrypt the full page, you open yourself to Man In the Middle Attacks. Somebody can just impersonate your page, the user will enter his data in the wrong page and he will never notice, because he has no chance of checking the certificates. You can do the POST request encrypted, but it offers a lower level of security

Upvotes: 1

Related Questions