---
title: "HTTP vs. HTTPS: What is the difference? — Moxso Blog"
description: "HTTP or HTTPS is included in the URL when you access a web page. But what is the difference? Here we go into more detail about the two protocols."
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://moxso.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
canonical: "https://moxso.com/blog/http-vs-https-what-is-the-difference"
language: "en"
---

[All articles](/blog "Articles on phishing, human risk and security awareness")

# HTTP vs. HTTPS: What is the difference?

HTTP or HTTPS is included in the URL when you access a web page. But what is the difference? Here we go into more detail about the two protocols.

January 12, 2023·4 min read·Posted in: [Awareness](/blog?category=Awareness "Browse every article filed under Awareness")

[![Danish](/images/flag-icons-main/flags/4x3/dk.svg)Læs på dansk](/da-dk/blog/http-vs-https-hvad-er-forskellen "Open this article in the other language")

Share this article

[Share this article on X (Twitter)](https://twitter.com/intent/tweet?url=https%3A%2F%2Fmoxso.com%2Fblog%2Fhttp-vs-https-what-is-the-difference\&text=HTTP%20vs.%20HTTPS%3A%20What%20is%20the%20difference%3F "Share on X (Twitter)")[Share this article on LinkedIn](https://www.linkedin.com/feed/?linkOrigin=LI_BADGE\&shareActive=true\&shareUrl=https%3A%2F%2Fmoxso.com%2Fblog%2Fhttp-vs-https-what-is-the-difference "Share on LinkedIn")[Share this article on Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fmoxso.com%2Fblog%2Fhttp-vs-https-what-is-the-difference "Share on Facebook")

![HTTP vs. HTTPS: What is the difference?](https://edge-cdn.moxso.com/blog/S3dPrLo6AGVcLi1UUuosq0rRD7I4g158hXBfJofV.jpg)

In short, HTTPS is the same protocol as HTTP but with encryption and verification. HTTPS uses [TLS](/blog/what-is-transport-layer-security "What is Transport Layer Security?") to encrypt ordinary HTTP requests and responses and digitally sign them. This means, of course, that HTTPS is more secure than HTTP.

The URL of a website will indicate whether it is using HTTP or HTTPS, as the URL will start with either http\:// or https\://.

## What is HTTP?

HTTP is an abbreviation for Hypertext Transfer Protocol, which is a protocol or specific order of presentation of information that is used to send information or communication over the Internet. The vast majority of information, including website content and API requests, that is sent over the Internet uses the HTTP protocol.

There are two types of HTTP messages:

* HTTP requests are generated by the user's browser as the user interacts with a website. For example, when the user clicks on a hyperlink, the browser sends a series of HTTP requests to the content of the web page to obtain the information needed to access the page. HTTP requests are sent to either an origin server or a proxy caching server, which will generate an HTTP response.
* as mentioned, HTTP responses are responses to HTTP requests.

## Why HTTP is insecure

An HTTP request consists of a series of text lines that follow the HTTP protocol. These text lines are generated by the user's browser and are sent over the Internet. However, the problem with HTTP is that this text is written in plain, readable text, i.e. not in code, which means that anyone monitoring the connection can read it. In fact, only basic knowledge of the HTTP protocol is required to understand its syntax.

This becomes particularly problematic when users enter sensitive information on web pages or web apps. This could be a password, payment card details, or other sensitive information entered into a form. This is because when a user submits a completed form, the information is translated into an HTTP POST request by the browser.

When an origin server receives an HTTP request, it sends back a similar HTTP response.

In short, all HTTP requests and responses can be read by anyone monitoring the connection. This means that a cybercriminal could potentially follow and intercept sensitive information, which he could then use for further malicious activity.

### What is HTTPS?

The S in HTTPS stands for 'secure'. As mentioned, HTTPS uses Transport Layer Security (TLS) to encrypt HTTP requests and responses. This means that requests and responses do not consist of plain, readable text, but rather a series of random characters.

Because of TLS, a possible observer of the communication or connection can only see this string of random characters. This is achieved by the public key cryptography used in TLS, where a public and a private key are used to create a session key, which ensures the encryption of the communication between two parties.

In addition, HTTPS also authenticates web servers - unlike HTTP. This means that HTTPS verifies the identity of people or machines involved in communication. In fact, a private key verifies the identity of a server, just like an ID card verifies the identity of a person. When a user connects to a web page, the private key matches the public key in the page's TLS certificate, thus confirming that the server is legitimate.

This can prevent a number of cyber attacks from taking place that are not possible with HTTP, such as [MitM attack](/blog/what-is-a-man-in-the-middle-attack "What is Man in the Middle?"), DNS hijacking and domain spoofing, for example.

### Use of HTTP and HTTPS respectively

It may seem pointless why HTTP is used when it is known that this type of connection is not secure. But the advantage of HTTP is that it has a higher speed than HTTPS.

HTTP is an obvious choice for web pages that deal with information consumption, for example, including blogs. This is because on such websites the user typically does not enter sensitive information.

HTTPS, on the other hand, is ideal for websites that involve the communication and transfer of sensitive information, such as payment card and bank details or passwords.

Therefore, we also recommend that you always check for HTTPS connections when entering and sending sensitive information. You can easily see this by looking for the padlock icon in your browser, which is an indication that the connection is encrypted with TLS and that you are therefore using a secure HTTPS connection.

Now you hopefully know what to look for when doing [awareness training](/training "Awareness training").

On this page

[What is HTTP?](#what-is-http "Jump to What is HTTP?")[Why HTTP is insecure](#why-http-is-insecure "Jump to Why HTTP is insecure")[What is HTTPS?](#what-is-https "Jump to What is HTTPS?")[Use of HTTP and HTTPS respectively](#use-of-http-and-https-respectively "Jump to Use of HTTP and HTTPS respectively")

![Emilie Hartmann](https://edge-cdn.moxso.com/author/5VRzyi1242mCAeqpCHlbidnhPi9nTaX92onOQ9tI.jpg)

### Emilie Hartmann

Emilie is responsible for Moxso’s content and communications efforts, including the words you are currently reading. She is passionate about raising awareness of human risk and cybersecurity - and connecting people and tech.

[View all posts by Emilie Hartmann](/blog?author=emilie-hartmann "Browse every article written by Emilie Hartmann")

## Similar posts

[![Human risk management metrics: a board-ready scorecard](/images/blog/human-risk-management-metrics-pexels-6476189.jpg)](/blog/human-risk-management-metrics "Read the full article: Human risk management metrics: a board-ready scorecard")

[Awareness](/blog/human-risk-management-metrics "Read the full article: Human risk management metrics: a board-ready scorecard")

### [Human risk management metrics: a board-ready scorecard](/blog/human-risk-management-metrics "Read the full article: Human risk management metrics: a board-ready scorecard")

[Build a concise human risk management scorecard that shows behaviour, control performance and decisions without inventing a misleading risk score.](/blog/human-risk-management-metrics "Read the full article: Human risk management metrics: a board-ready scorecard")

[October 13, 20267 min read](/blog/human-risk-management-metrics "Read the full article: Human risk management metrics: a board-ready scorecard")

[![Prompt injection in AI coding agents: what developers should check](/images/blog/prompt-injection-ai-coding-agents-pexels-5483149.jpg)](/blog/prompt-injection-ai-coding-agents "Read the full article: Prompt injection in AI coding agents: what developers should check")

[Awareness](/blog/prompt-injection-ai-coding-agents "Read the full article: Prompt injection in AI coding agents: what developers should check")

### [Prompt injection in AI coding agents: what developers should check](/blog/prompt-injection-ai-coding-agents "Read the full article: Prompt injection in AI coding agents: what developers should check")

[Learn how untrusted instructions can redirect an AI coding agent, which permission requests deserve scrutiny, and how to practise a safe response.](/blog/prompt-injection-ai-coding-agents "Read the full article: Prompt injection in AI coding agents: what developers should check")

[October 13, 20265 min read](/blog/prompt-injection-ai-coding-agents "Read the full article: Prompt injection in AI coding agents: what developers should check")

[![Prime day brings surge in fake sites](https://edge-cdn.moxso.com/blog/VAL3toOJe2QVaj1EADLYB20eakD4XcM4iBfBRaY0.jpg)](/blog/prime-day-brings-surge-in-fake-sites "Read the full article: Prime day brings surge in fake sites")

[Awareness](/blog/prime-day-brings-surge-in-fake-sites "Read the full article: Prime day brings surge in fake sites")

### [Prime day brings surge in fake sites](/blog/prime-day-brings-surge-in-fake-sites "Read the full article: Prime day brings surge in fake sites")

[Scammers are targeting Prime Day with fake sites and phishing emails. Learn how to spot the scams and stay safe while shopping online.](/blog/prime-day-brings-surge-in-fake-sites "Read the full article: Prime day brings surge in fake sites")

[July 8, 20253 min read](/blog/prime-day-brings-surge-in-fake-sites "Read the full article: Prime day brings surge in fake sites")
