In the OSI model, traditional HTTP operates at the Application Layer, transmitting data in plaintext. This exposes the payload to MitM (Man-in-the-Middle) attacks via packet sniffing or ARP spoofing. HTTP means Hypertext Transfer Protocol while HTTPS means Hypertext Transfer Protocol Secure.

HTTPS (HTTP over TLS) encapsulates the session within an encrypted tunnel. The process involves:
Set-Cookie headers are essentially public broadcasts."
Beyond encryption, HTTPS provides Server Authentication. By validating the SSL/TLS certificate chain against Trusted Root Certificate Authorities (CAs), the browser confirms the server is who it claims to be, preventing DNS hijacking redirection.