You stay safe on public Wi-Fi by treating the network as untrusted: connect only to the exact network name the venue gives you, use sites and apps that encrypt traffic with HTTPS, turn off file sharing and auto-connect, keep your device updated, and use a VPN or your phone's hotspot for anything sensitive. This is the core of public wifi safety.
Cafes, airports, hotels and libraries offer convenient internet, but anyone on the same network, and anyone running the hotspot itself, may be able to watch or tamper with traffic that is not properly protected.
Public Wi-Fi is shared with strangers and managed by someone you do not know. The main risks are:
| Risk | What happens |
|---|---|
| Evil twin hotspot | An attacker creates a network with a believable name such as the venue's name and you connect to it |
| Traffic snooping | Unencrypted data can be read by others on the network |
| Man-in-the-middle attack | An attacker sits between you and the site, reading or altering data |
| Fake login (captive) pages | A sign-in page that steals email addresses or passwords |
| Malware delivery | Fake update prompts or malicious downloads shown through the network |
| Exposed device services | File sharing or open ports on your laptop reachable by others |
The picture is better than it used to be. Most websites now use HTTPS, which encrypts the connection between your browser and the site, so passwords on proper HTTPS pages are not readable by the person next to you. The danger is mainly in what is not encrypted, in fake networks, and in tricks that persuade you to give information away.
On Windows, set the connection profile to Public network so file and printer sharing and network discovery are turned off. On macOS, turn off file sharing and AirDrop to Everyone. On phones, turn off sharing features such as hotspot and Bluetooth visibility when you do not need them.
Remove the saved network when you leave so your device does not rejoin it, or an imitation of it, later.
Turning Wi-Fi off when you are not using it prevents accidental connections. Private DNS options in your phone or browser add some protection from DNS tampering, though they do not hide your activity completely.
https:// in the address bar, and treat browser warnings about certificates as a reason to stop, not to click Continue.A virtual private network (VPN) creates an encrypted tunnel from your device to a VPN server, so the local network sees only encrypted traffic going to that server. It helps on untrusted networks and hides your browsing from the hotspot owner.
A VPN is not magic. The VPN company can see your traffic instead, so choose a reputable, audited provider, not a free one with unclear business practices. A VPN does not stop phishing, malware you download or logging in on a fake site. Many work and school VPNs are also fine to use for this purpose.
Using your phone's mobile data hotspot, protected with a strong password and WPA2 or WPA3 encryption, avoids the shared network completely. It is the simplest choice for banking or confidential work. Check your data allowance first. Turn the hotspot off when you finish.
Disconnect and forget the network. Change passwords for any account you used, starting with email, from a trusted network. Review account activity and sign out of all sessions where this is offered. Run a malware scan, and tell your bank if you entered payment details.
Ordinary browsing over HTTPS is reasonably safe. Risks rise when you enter sensitive data or ignore security warnings, so reserve banking and confidential work for a VPN or mobile data.
HTTPS protects the content of your connection to a site, but it does not stop fake networks, phishing pages or malware, and the network can still see which sites you visit.
Generally yes, because the connection is not shared with strangers. It is a better choice for sensitive tasks.
It is hard on proper HTTPS sites, but possible through fake login pages, evil twin networks or if you ignore certificate warnings. Two factor authentication limits the damage.
Treat every public network as untrusted. Verify the network name, keep devices updated, switch off sharing, rely on HTTPS and two factor authentication, and use a reputable VPN or your phone hotspot for banking and work. Forget the network when you leave.