Public Wi-Fi Risks Today
What public Wi-Fi can and cannot expose now that most sites use HTTPS, and the few habits that cover the risks that remain.
Key takeaways
- HTTPS protects the contents of most web and app traffic even on a network you do not trust.
- The network can still often see which services you contact, when, and how much data moves.
- A network name proves nothing, because anyone can broadcast a name that looks like the venue's.
- Never ignore a certificate warning or install software or profiles that a Wi-Fi login page asks for.
- Keeping your device updated and set to treat the network as public matters more than any single add-on.
Public Wi-Fi is much less dangerous than its old reputation, mainly because most websites and apps now encrypt their traffic. Checking mail or shopping in a cafe is not the open book it once was. The risks that remain are mostly about deception (fake networks and fake login pages), exposure of your own device to others on the same network, and what the network operator can still observe about where you go.
A handful of habits handle nearly all of it.
What changed
Years ago, many sites encrypted only the login page, or nothing at all. Anyone nearby with free software could read pages and sometimes take over sessions. Today encryption with TLS is the norm, browsers mark unencrypted pages as not secure, and sites can use HSTS to insist on it. Mobile apps are generally expected to encrypt too.
TLS gives you two things on a hostile network. Others cannot read or alter the contents, and your browser checks that the server holds a valid certificate for the name you asked for. How HTTPS and TLS work covers the details.
What the network can still see
Encryption hides the contents of a conversation, not the fact of it. The operator, and sometimes others nearby, may learn:
- The IP addresses you connect to
- Names you look up, unless your device uses encrypted DNS
- The server name sent in the clear at the start of many TLS connections
- Timing and volume of traffic
- Your device's hardware address (often randomized now) and sometimes its name
Encrypted DNS, described in DNS over HTTPS and DNS over TLS, closes one of those gaps. It does not close all of them.
The risks that remain
Lookalike networks
Anyone can set up an access point called "Airport Free WiFi" or copy a hotel's exact network name. This is often called an evil twin. Your phone may join a remembered open network name automatically wherever it appears.
Whoever runs the access point controls your path to the internet. They still cannot silently read properly validated HTTPS, but they can show you pages of their own, block things or redirect unencrypted requests.
Captive portals used as bait
A captive portal is the page that asks you to accept terms before you get online. Because people expect it, a fake one is a natural place for a counterfeit login page. Be suspicious if a portal asks for your email password, a social account password, full card details for "free" access, or asks you to install an app, certificate or configuration profile. Installing an unknown certificate authority is especially serious, since it can let someone impersonate websites to your device.
Other people on the same network
Some networks let connected devices talk to each other. If your laptop shares folders, runs a development server or has an outdated service listening, a stranger might reach it. Many venues enable client isolation, which blocks this, but you cannot rely on it.
Shared passwords and old encryption
A network with a password on the chalkboard is better than a fully open one, though less than it seems. With the older WPA2 personal mode, someone who knows the password and captures your device joining can potentially decrypt the wireless traffic. WPA3 personal mode removes that weakness, and a feature called Enhanced Open (based on Opportunistic Wireless Encryption, RFC 8110) encrypts networks that need no password. Neither one tells you the operator is honest. More in WPA2 versus WPA3.
Habits worth keeping
- Confirm the name with staff or a posted sign, and prefer networks that require individual sign-in where offered.
- Choose the public profile. On Windows, set the network type to public. On any system, turn off file sharing and discovery you do not need. Menu names vary by version.
- Keep the firewall on and the operating system, browser and apps updated.
- Stop auto-joining. Forget the network afterward, or disable automatic connection to it.
- Heed warnings. If your browser reports a certificate problem, do not click through. Certificate errors explains why.
- Use multi-factor sign-in on important accounts, ideally passkeys, which will not work on a lookalike domain.
- Pause sensitive admin work if anything seems odd, and switch to your phone's connection.
Match the care to the situation
Not every trip to a coffee shop calls for the same caution. A person reading the news on an updated phone has little to lose. Someone administering a company server from a conference network has a lot.
Say you are traveling with a work laptop. Before leaving, you install updates, confirm disk encryption is on and check that the work VPN connects. At the hotel, you verify the network name at the desk, accept the terms page, start the VPN and only then open work tools. In the evening you stream a film on your tablet with no VPN at all, which is fine.
Now say the portal at a station asks you to "update your browser" to continue. A network has no legitimate reason to deliver software updates this way. Disconnect and use mobile data.
Physical surroundings count too
Many public place risks have nothing to do with radio. Someone behind you can read your screen or watch you type a PIN. A laptop left on the table while you order can walk away. Lock the screen whenever you step back, consider a privacy filter if you handle sensitive material, and be wary of strangers' USB cables and drives.
Older and unusual devices
Phones and current laptops cope well with hostile networks. An old tablet that no longer receives updates, a handheld console or a gadget with its own built-in services copes worse. Keep those on networks you control, or off the public ones when you do not need them there.
What venues and travelers often get wrong
Some advice survives long after its reason has faded. Turning off Wi-Fi whenever you pass a cafe is unnecessary for most people, as long as the device is not set to join open networks automatically. A padlock in the address bar does not mean a site is honest; it means the connection to whatever name is shown is encrypted. Read the name itself.
If you run the venue's network, you can help: use a clearly posted network name, enable client isolation, keep guest traffic apart from payment terminals and office computers, and update the router. Setting up a guest network walks through it.
Do you need a VPN?
A VPN wraps your traffic in an encrypted tunnel to a server elsewhere. On public Wi-Fi it hides destinations and DNS lookups from the local network and protects any unencrypted app. It moves that visibility to the VPN operator, so you are choosing whom to trust. It does not stop phishing, malware or a website from tracking your account.
If your employer provides one, use it. For personal browsing on HTTPS, it is a reasonable extra for privacy rather than a necessity. What a VPN does and does not do sets out the limits.
Some captive portals only appear before the VPN connects. Join, accept the terms, then turn the VPN on and confirm it stays connected.
Hotspots and other alternatives
Your phone's hotspot avoids the shared network entirely. It uses your data allowance and battery, and plans often limit hotspot data, so check yours. Set a long, unique hotspot password. See whether a hotspot is safer than public Wi-Fi.
On trains, planes and buses the onboard network is public Wi-Fi with a satellite or cellular link behind it, and the same habits apply.
If something went wrong
If you typed a password into a page you now doubt, change it from a trusted connection, change it anywhere you reused it, sign out other sessions and turn on multi-factor authentication. If you installed a profile, certificate or app at a portal's request, remove it and check the device for anything else added. Watch the accounts involved for logins or messages you did not make. What to do if you have been hacked gives the fuller sequence.
Common questions
Is online banking safe on public Wi-Fi?
The bank's app or HTTPS site encrypts the session, so the main danger is being steered to a fake page. Use the official app or your own bookmark, and use mobile data if the network behaves strangely.
Can the cafe read my messages?
Not the contents of apps that encrypt properly. It may see that you connected to that messaging service and when.
Is hotel Wi-Fi safer than cafe Wi-Fi?
Not inherently. A room number or login limits casual access, but many guests share the network and you rarely know how it is configured.