Protecting Sensitive Data on Public Wi-Fi
Three habits for cafés, airports, and hotels: check the network name, think about what is exposed, and know what a VPN does and does not do.
1The risk on public Wi-Fi
Public Wi-Fi is shared with strangers, and you cannot see who runs the equipment or who is listening nearby. Two dangers stand out:
- You may join the wrong network. An attacker can broadcast a copy of the real network's name (an evil twin) so your traffic passes through their device.
- Your traffic may be readable. On a network with no password, data sent over the air is not scrambled, so anyone nearby with the right software can record it. Anything your apps send without their own encryption can be read.
Three habits handle most of the risk: check the network name letter for letter, think about how sensitive your data is before using an unencrypted network, and use a virtual private network when it makes sense.
2Check the name letter for letter
Before joining a network, check that its name matches the network you meant to join letter for letter: every letter, capital, symbol, and space. Get the real name from a trusted source: a sign posted by the business, your receipt, or the staff. Do not trust the network with the strongest signal or the friendliest name.
An exact match is necessary, but it is not proof. An evil twin can copy the name perfectly. So two more habits help:
- Be suspicious of duplicates. If two networks with the same name appear where you expect one, ask staff which one is theirs.
- Turn off auto-join for public networks. Phones remember network names and rejoin anything with a matching name. Forget public networks after you use them.
3Encrypted and unencrypted traffic
Most internet traffic today is encrypted. Websites that use HTTPS (the padlock in the address bar) and most apps scramble what they send, so someone on the same Wi-Fi cannot read your messages, passwords, or bank balance. That is a big reason public Wi-Fi is safer than it used to be.
But not everything is covered. One important leak is DNS. Before your device can visit examplebank.com, it asks a DNS server, which works like the internet's phone book, for that site's numeric address.
On many devices those lookups are sent unencrypted, even when the site itself uses HTTPS. Anyone watching the network can read the list of site names you look up: your bank, your doctor's office, a job site.
| On a public network, someone watching can see… | With HTTPS | Without HTTPS |
|---|---|---|
| Which sites you visit (from DNS lookups and the connection itself) | Usually yes | Yes |
| When and how much you use each site | Yes | Yes |
| The pages you read and what you type | No | Yes |
| Your passwords and messages | No | Yes |
So the choice to use an unencrypted Wi-Fi network (one with no password) depends on how sensitive your data is. Reading the news is low risk. Looking up medical information, sending private documents, or doing anything where even the site name is private is better done on a network you trust, such as your phone's cellular connection or home Wi-Fi.
A Wi-Fi password does more than keep strangers off the network: modern Wi-Fi security also scrambles the radio traffic between your device and the access point. On a network with no password, that layer is missing, so everything that is not separately encrypted by the app or website travels over the air in readable form.
4Virtual private networks (VPNs)
A virtual private network (VPN) is a service that encrypts all of your device's traffic, including DNS lookups, and sends it through a protected connection, often called a tunnel, to the VPN operator's system. From there, the traffic goes on to the internet.
Because the tunnel is encrypted, the café's Wi-Fi and your internet service provider see only scrambled data going to the VPN. They cannot see which sites you visit.
The catch: the VPN provider can now see your traffic. Everything the Wi-Fi operator could see before, the VPN provider can see instead. A VPN does not make you invisible; it decides who you are trusting. Choosing a VPN is therefore a real decision. A company VPN run by your employer or school, or a well-known provider with a clear privacy policy, is a reasonable choice. A free VPN from an unknown company may itself be the party collecting your data.
Encryption does not remove the observer. It changes who the observer is. HTTPS hides content from the network; a VPN hides even the site names from the network but shows them to the VPN provider; the website always sees what you send it.
5Deciding what to do where
| Situation | Reasonable choice |
|---|---|
| Checking the weather or news on café Wi-Fi | Fine on any network whose name you have verified |
| Signing in to email or school accounts | Fine over HTTPS on a verified network; use MFA; never enter a password on a Wi-Fi sign-in page |
| Banking, medical records, private documents | Prefer cellular data or a trusted network; otherwise use a trustworthy VPN |
| Work or school systems from a hotel | Use the organization's VPN if it provides one |
| A Wi-Fi sign-in page asking for an email password or card details | Stop: real guest portals ask at most for a room number, a code, or agreement to terms |
6Worked examples
One letter off
A library posts its network name as HillsideLibrary. A student's phone shows HillsideLibrary and HiIlsideLibrary, the second with a stronger signal. Which should they join?
- 1Compare character by character. In the second name, the third character is a capital I, not a lowercase l. In many fonts they look the same.
- 2A different name means a different network, likely set up by someone nearby, since the library would not run two networks with nearly identical names.
- 3Join only the exact match, and mention the lookalike to library staff.
HillsideLibrary, the exact match. The near-copy is likely an evil twin.Health information on airport Wi-Fi
A traveler on open airport Wi-Fi (no password) wants to look up test results on their clinic's website, which uses HTTPS. What is exposed, and what should they do?
- 1HTTPS protects the content: no one on the network can read the results or the password.
- 2But the network is unencrypted and DNS lookups often are too, so someone watching could see that this device looked up the clinic's site.
- 3For most sites that would not matter. Here, even the fact of visiting a clinic is private.
- 4Better options: switch to cellular data, wait for a trusted network, or use a trustworthy VPN.
Who sees the site names?
A student connects to hotel Wi-Fi and turns on a VPN before browsing. Which parties can see which websites they visit?
- 1Hotel Wi-Fi: sees only encrypted traffic going to the VPN server. No site names.
- 2The hotel's internet provider: the same, only a tunnel to the VPN.
- 3The VPN provider: decrypts the tunnel and sends traffic onward, so it can see which sites are visited (and any content not protected by HTTPS).
- 4The websites: see everything the student sends them, as always.
The free VPN app
A student downloads a free VPN app from an unknown developer to “stay safe” on public Wi-Fi. Is this a good protection?
- 1A VPN provider can see all the traffic passing through it.
- 2Running VPN servers costs money. A free service from an unknown company may pay for itself by collecting and selling users' browsing data.
- 3So the student may have moved their traffic from a café owner they will never meet to a company whose business is watching it.
The portal that asks too much
After joining Hotel_Guest, a page appears: “Sign in with your email address and password to get online.” What should the guest do?
- 1Guest Wi-Fi portals usually ask for a room number, an access code, or a click to accept terms. They have no reason to need your email password.
- 2Asking for an email password is how an evil twin collects login details.
- 3Check the network name with the front desk, disconnect, and do not type the password.
7Common mistakes
Cafe_Guest is not CafeGuest. Any difference in letters, symbols, capitals, or spaces means a different network.
An evil twin can copy a name perfectly. Watch for duplicates, avoid auto-join, and be wary of sign-in pages that ask for passwords.
HTTPS protects content, but site names can still leak through DNS lookups and the connection itself. On an open network, that may matter.
A VPN hides your traffic from the local network and your internet provider, but the VPN provider can see it, and websites still see everything you send them.
“Before joining, the student should confirm the network name matches the one posted by the café letter for letter, because an attacker could run an evil twin with a similar name. Because the network is unencrypted, DNS lookups could reveal which sites they visit, so for sensitive tasks they could use a VPN, which encrypts all their traffic to the VPN operator. The VPN provider would then be able to see that traffic instead.”
Name the action, the risk it reduces, and any trade-off it brings.