Networking

A user submits a login form on a website in a browser, and the credentials must be encrypted in transit. Which protocol should the site use?

Show the answer

Correct answerB. HTTPS

AWhy not this: SSH is encrypted but is for remote command-line sessions, not web pages.

BWhy this is right: HTTPS encrypts browser-to-server web traffic with TLS.

CWhy not this: HTTP sends web traffic in clear text, so credentials could be read.

DWhy not this: Telnet is a clear-text remote terminal protocol, not a web protocol.

HTTPS carries web traffic inside a TLS-encrypted session, so form data cannot be read in transit. SSH is also encrypted but provides remote command-line access, not browser web pages.