Digital Hygiene

Public Wi-Fi safety

Airports, hotels, cafés: what the risks really are on public Wi-Fi and how to stay safe.

1The real risks of public Wi-Fi

Coffee shops, airports, hotels, trains: public Wi-Fi networks are convenient, but they share two risky properties. Anyone can join, and you often cannot tell the real network from a malicious clone set up by an attacker two tables away. The good news: today the vast majority of websites and apps encrypt their traffic with HTTPS, so someone on the same network can no longer simply read your passwords or messages. The old "hacker reads everything on café Wi-Fi" scenario is largely outdated.

What still works is tricking you rather than spying on you: a fake network with a familiar name (evil twin), a fake login page asking you to "sign in with your email account" to get online, or a certificate warning you click through. In other words, public Wi-Fi is now mostly a phishing risk.

2Main attack techniques

Evil twin

The attacker broadcasts a network with the same name (SSID) as the café or one your phone already knows, like Airport_Free_WiFi. Your device may join it automatically. From there, the attacker controls what you see first — typically a fake portal.

Fake captive portal

A convincing login page asks you to "sign in with Google / Microsoft", or for your email password, phone number or card "to access the Wi-Fi". Whatever you type goes straight to the attacker.

DNS tampering

A malicious router sends bankofexample.com to a look-alike server. On HTTPS sites your browser will normally show a certificate error — the attack only succeeds if you click through the warning or type the address of a site that does not use HTTPS.

Passive snooping

Even with HTTPS, some information can remain visible on the network: which sites you visit (DNS queries, server names), when and how much. Not your passwords, but enough to profile you. Devices with network file sharing switched on can also be reachable by others on the same Wi-Fi.

Verify a suspicious domain on mlab.sh

Not sure that portal URL is real? Run it through the mlab.sh domain scanner before typing any credentials.

Scan a domain on mlab.sh

3How to stay safe

Prefer your phone's hotspot

4G/5G tethering from your own phone, protected by a password only you know, avoids the shared network entirely. For anything sensitive, it is the simplest option.

Ask staff for the exact network name

If you see two similar names (Cafe_Central and Cafe-Central-Free), ask which one is real. Prefer networks secured with WPA3, or "Wi-Fi Enhanced Open" (OWE), which encrypts each user's connection even on networks without a password.

Disable auto-join and forget old networks

Stops your phone from silently connecting to any network called Free-Airport-WiFi. In your Wi-Fi settings, turn off auto-join for public networks and remove those you no longer use.

Turn off sharing

On Windows, mark the network as Public; on a Mac, turn off file sharing; set AirDrop or Quick Share to "Contacts only". Keep your system and apps up to date.

A VPN helps, but is not a silver bullet

A reputable VPN encrypts everything between you and the VPN provider, hiding your traffic and DNS from the local network. It does not stop you from typing your password into a fake portal or a phishing site, and it shifts your trust to the VPN company — avoid unknown free VPN apps. Note that you usually have to pass the hotel or café portal before the VPN can connect.

Never click through a certificate warning

If your bank, email or any known site suddenly shows a security or certificate warning on public Wi-Fi, stop and disconnect. That warning is exactly what protects you from evil twins and DNS tampering.

Be wary of portals asking for passwords or card details

A Wi-Fi portal never needs your email or social-media password. Some services (in-flight Wi-Fi, certain hotels) do charge, but only pay on a portal the venue itself points you to, and check the address. When in doubt, use your hotspot. Enable two-factor authentication so that a stolen password alone is not enough.

Public Wi-Fi FAQ

Is HTTPS enough to protect me on public Wi-Fi?

For the content of your traffic, largely yes, as long as you never click through certificate warnings. HTTPS does not protect you from fake captive portals or phishing pages where you type your details yourself, and some metadata (which sites you visit) stays visible.

Should I do online banking on hotel Wi-Fi?

Your bank's official app or HTTPS website is encrypted, so the risk is low if you see no warnings. If you can, use your phone's hotspot for banking anyway — it removes the shared network from the equation.

Are password-protected hotel networks safer?

A little. With older WPA2, anyone who knows the shared password can potentially decrypt other users' traffic; WPA3 prevents this. But in both cases, anyone with the password can also create a convincing evil twin.

Do I need a VPN?

Not for most everyday browsing, thanks to HTTPS. A reputable VPN is a useful extra layer on networks you do not trust, but it does not protect against phishing or malware.

Related Modules