Blog / How the internet works /
Public Wi-Fi: how to use it safely
The cafe has free Wi-Fi, your data bundle is running low and an invoice needs sending. You connect, you send it, you carry on. Should you have worried?
The old advice said public Wi-Fi was a minefield where anyone could read everything you typed. The modern truth is calmer, and also more specific. Most of the scary scenarios from ten years ago are far less likely today, because most websites and apps now encrypt their traffic. But some risks are real, and a few cheap habits remove most of them.
What changed since the scary headlines
When a site uses HTTPS, the data between your device and the site is encrypted. Someone on the same Wi-Fi network can see that you visited a particular domain, but not what you typed or read on the page. I explained that in how HTTPS works, simply, and its limits in HTTPS and the padlock: what it does and does not promise.
Phones and browsers also warn you if a site’s certificate looks wrong. Between that and apps that encrypt by default, simply reading the web on public Wi-Fi is a lot safer than it was.
So the realistic risks have shifted.
The real risks
1. Fake networks
Anyone can create a hotspot called “Airport_Free_WiFi” or “Cafe Guest”. If you connect to the wrong one, you’re sending your traffic through someone else’s equipment. Attackers can use this to show fake login pages or try to interfere with connections. It’s usually called an “evil twin” network.
2. Fake login pages (“captive portals”)
Many public networks ask you to open a page and accept terms or enter details. A malicious network can imitate that page and ask for more than it should, like a password, a card number or a social account login. A real portal doesn’t need those.
3. Weak or old connections
A few sites and apps still use insecure connections, and some outdated devices don’t enforce encryption well. If your browser says “Not secure” on a page where you’re about to type a password, don’t.
4. Your own device’s settings
File sharing, remote access and “discoverable” settings that are fine at home can expose your device on a network full of strangers.
5. Shoulder surfing and theft
Not technical, but still the most common. Someone watching your screen, or a laptop left on a table while you go to the counter.
Habits that cover most of it
Confirm the network name with a human
Ask staff for the exact Wi-Fi name and how to connect. Don’t pick the first similar-looking one. Be wary of open networks that look identical, with the same name appearing twice.
Prefer your phone’s hotspot for anything sensitive
For banking, work admin or anything with money in it, your own mobile data is safer than a shared network. Sharing a connection from your phone creates a private network between your devices, protected by a password you choose. I covered how it works in mobile hotspots and pocket Wi-Fi: how they work. The cost is data, which matters a lot if bundles are expensive where you are. That’s a real trade-off, not a reason to feel foolish.
Look for HTTPS
Check for the padlock or “https” before entering any password or payment detail. Modern browsers warn you loudly if something’s off, so don’t click through warnings.
Never ignore certificate warnings
If your browser says a connection isn’t private and offers a “proceed anyway” link, treat it as a stop sign. On a public network, a certificate warning can be a sign of someone tampering with the connection.
Turn on two-factor authentication for important accounts
Even if someone grabs a password, they still need the second step. Authenticator apps or passkeys are stronger than SMS. See two-factor authentication: SMS, apps and passkeys compared. Passkeys in particular are tied to the real site, so a fake page can’t use them.
Keep your device updated
Updates close known security holes. That includes your browser and your phone or laptop system. It’s the dullest tip and one of the most effective.
Turn off sharing and auto-connect
On a laptop, set the network as “public” so sharing is off. On a phone, turn off automatic joining of open networks, so it doesn’t connect to the first familiar-looking name.
Log out and forget the network
When you’re done, disconnect and tell your device to forget the network. That prevents it from rejoining a similarly named one later.
Should you use a VPN?
A VPN encrypts your traffic between your device and the VPN provider, so the local network can’t see which sites you visit. It can help on public Wi-Fi, especially if you’re unsure of the network.
But it’s not magic:
- You’re trusting the VPN provider instead of the cafe. Choose carefully; free ones often make money from your data.
- It doesn’t stop you entering your password on a fake site.
- It doesn’t protect against malware or a stolen account.
I wrote a longer take in VPNs explained: when you need one and when you do not. The short version: handy extra layer, not a substitute for the habits above.
If you manage a website from a cafe
This is the one I’d be strictest about. Admin logins are valuable. If you manage a site while travelling:
- Use your phone’s hotspot for admin work where you can.
- Use two-factor on the admin login. Two-factor login for website admins explains the options.
- Don’t edit server files or enter hosting credentials on a network you don’t trust.
- Use a password manager, which also helps by refusing to autofill on a fake domain.
Myths worth dropping
“Hackers can read everything I do on any public Wi-Fi.” Not for HTTPS sites and most apps. They can see which domains you contact, not the content.
“A password on the Wi-Fi makes it safe.” Better than open, but everyone with the password is on the same network.
“I’m not important enough to be targeted.” Most attacks are automated and opportunistic, not personal.
“Private browsing makes me safe on public Wi-Fi.” It only stops your device storing history. It does nothing for the network.
Quick checklist
- Confirm the exact network name
- Use your hotspot for banking and admin work
- Check for HTTPS and never skip warnings
- Use two-factor authentication
- Update your device
- Turn off file sharing and auto-join
- Forget the network afterwards
Key takeaways
- Public Wi-Fi is much safer than it was, thanks to HTTPS everywhere.
- The remaining risks are fake networks, fake login pages and your own settings.
- Use your own hotspot for anything sensitive.
- A VPN is a helpful extra, not a cure-all.
- Two-factor authentication limits the damage if a password leaks.
Related reading
- VPNs explained: when you need one and when you do not
- VPNs explained: how they work
- Keeping plugins, themes and core updated safely
Next time you’re at a cafe, ask the staff for the network name before you connect. It takes ten seconds, and it removes the most common trick of all.