Senior
What is the difference between HTTP and HTTPS?
sobes.tech AI
Answer from AI
HTTP (HyperText Transfer Protocol) is a data transfer protocol on the internet that operates without encryption. HTTPS (HTTP Secure) is an extension of HTTP that uses encryption via SSL/TLS to protect transmitted data.
Main differences:
- Security: HTTPS encrypts data, protecting against interception and tampering.
- Port: HTTP typically uses port 80, HTTPS — 443.
- Certificates: HTTPS requires an SSL certificate to verify the authenticity of the server.
Example: when entering a password on a website via HTTP, the data can be intercepted, whereas via HTTPS — transmitted in encrypted form.