Protocol CS Thinking Example 3
Follow the full solution, then compare it with the other examples linked below.
Example 3
mediumExplain why HTTPS is preferred over HTTP for websites that handle passwords or payment information. What does the 'S' add?
Solution
- 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 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
Example 1 easy
What is a network protocol? Why are protocols necessary for computers to communicate?
Example 2 mediumDescribe what HTTP, HTTPS, TCP, and IP each do, and how they work together when you visit a website.
Example 4 hardExplain the concept of protocol layers (the TCP/IP model). Why is layering beneficial for network de