Protocol CS Thinking Example 3

Follow the full solution, then compare it with the other examples linked below.

Example 3

medium
Explain why HTTPS is preferred over HTTP for websites that handle passwords or payment information. What does the 'S' add?

Solution

  1. 1
    Step 1: The 'S' stands for Secure. HTTPS encrypts all data between the browser and server using TLS/SSL, so even if someone intercepts the traffic, they cannot read it.
  2. 2
    Step 2: With plain HTTP, passwords and credit card numbers are sent as readable text. Anyone monitoring the network (e.g., on public WiFi) could capture this sensitive data.

Answer

HTTPS encrypts data in transit, preventing eavesdroppers from reading passwords and payment details. HTTP sends data as readable text, which is insecure.
HTTPS is now standard for almost all websites, not just those handling sensitive data. Browsers warn users when visiting HTTP sites, reflecting the security importance of encryption.

About Protocol

A set of rules that define how data is formatted, transmitted, and received over a network. Protocols specify message formats, sequencing, error handling, and authentication so that devices from different manufacturers can communicate reliably.

Learn more about Protocol โ†’

More Protocol Examples