What the browser padlock does and does not tell you
The padlock means your connection to a site is encrypted and you reached the address shown. It does not mean the site itself is honest or safe.
For years, people have been told to look for the padlock before typing in a password or card number. It is good advice as far as it goes, but many people read the padlock as a promise that a website is trustworthy. It is not, and the gap between what it says and what people think it says is one scammers rely on.
What the padlock actually means#
When you visit an address that begins with https, your browser and the website set up an encrypted connection. Mozilla's support guidance describes what the padlock shows: you are connected to the website whose address appears in the address bar, and the connection has not been intercepted. Encryption means that anyone watching the network, such as someone on shared public Wi-Fi, cannot read what passes between you and the site.
That is valuable. It protects passwords, messages and form entries in transit. Behind the scenes, the site has a digital certificate, issued by an organisation called a certificate authority, which vouches that the site controls the address it is using.
What it does not mean#
The padlock says something about the connection. It says nothing about the intentions of whoever runs the site. The United States Cybersecurity and Infrastructure Security Agency (CISA) explains that a certificate is evidence about the site's identity and the encryption, not a guarantee that the site is safe to use. A few consequences follow:
- A scam site can have a padlock. Anyone who controls an address can usually get a certificate for it, so a fraudulent shop or a fake login page can be fully encrypted.
- Look-alike addresses still work. If you mistype an address, or follow a link to an address that is one letter off, you can end up on a different site that is perfectly encrypted but is not the one you meant.
- Fake padlocks are possible. CISA warns that attackers may be able to create malicious pages that imitate a padlock icon or show a false dialog box when you click it. The real padlock sits in the browser's own address bar, not inside the page.
- A page can be only partly protected. If a secure page loads some content, such as images or scripts, over an unencrypted connection, an attacker may be able to alter that part. Browsers block or warn about this "mixed content", which is one reason a padlock can disappear or show a warning on a page that began with https.
A short checklist#
Before you enter anything sensitive:
- Read the address carefully. Check the spelling of the domain, the part just before the first single slash.
- Type or bookmark important addresses such as your bank's, rather than following links in messages.
- Click the padlock to see which site and certificate the browser has verified.
- Take browser warnings seriously. If the browser says a certificate is invalid, do not click through.
- Judge the site on other grounds. Does it have a real contact address, clear policies and a good reputation?
The short version#
Think of the padlock as a sealed envelope. It tells you nobody can read the letter on the way, and it tells you the envelope went to the address on the front. It does not tell you that the person who opens it is someone you should trust.
Sources#
- Mozilla Support, How do I tell if my connection to a website is secure?, Mozilla. https://support.mozilla.org/en-US/kb/how-do-i-tell-if-my-connection-is-secure
- Cybersecurity and Infrastructure Security Agency, Understanding Website Certificates, CISA. https://www.cisa.gov/news-events/news/understanding-website-certificates
- Mozilla Support, Mixed content blocking in Firefox, Mozilla. https://support.mozilla.org/en-US/kb/mixed-content-blocking-firefox