Network

Public Wi-Fi on Android: Real Risks vs Hype

With HTTPS everywhere, public Wi-Fi is far safer than it was — but a few specific risks remain.

Adrián Vega

By Adrián Vega

Published 1 November 2025 · Updated 10 May 2026 · 9 min read

Person on phone in cafe

Connect your phone to any airport or coffee shop network, and you will likely see a warning from your device. For years, security experts have treated open networks as digital minefields, yet the nature of public wifi safety android users need to understand has shifted significantly. While the classic "man-in-the-middle" attack where a hacker sees your passwords in plain text is largely a relic of the past, connecting to unverified access points still exposes metadata, device identifiers, and DNS queries that can compromise your long-term privacy.

I have spent the last month testing network behaviour across a Google Pixel 9 (Android 15), a Samsung Galaxy S24 (One UI 6.1), and a Xiaomi 14 (HyperOS). In this guide, I will break down which risks are overblown by marketing departments selling VPNs and which threats remain genuine. You will learn how to configure your Android settings to minimize your footprint when using cafe wifi privacy shortcuts and airport hotspots, ensuring your data remains yours even on a shared connection.

Why HTTPS changed the game

Why HTTPS changed the game
Screenshot reference: Why HTTPS changed the game

Ten years ago, the "Firesheep" era allowed anyone on the same network to sniff your session cookies and hijack your social media accounts. This was possible because most websites used unencrypted HTTP. Today, the landscape is fundamentally different. According to Google’s Transparency Report, over 95% of traffic across Google services is encrypted via HTTPS (Hypertext Transfer Protocol Secure). When you browse on Android 13, 14, or 15, your browser—whether it is Chrome, Brave, or Samsung Internet—establishes an encrypted tunnel between your device and the server. Even if a malicious actor captures the packets of data flying through the air, they see nothing but gibberish.

Android evolved to enforce this standard. Since Android 9, the operating system has defaulted to blocking "cleartext" (unencrypted) traffic for applications. If an app tries to send data without encryption, the OS blocks the request unless the developer has specifically opted out. On modern devices like the Pixel or Samsung Galaxy, you can further harden this by going to Settings > Security & privacy > More security settings > Advanced (on older builds) or simply searching for "Always use secure connections" in Chrome settings. This ensures the browser upgrades every request to HTTPS or warns you before loading a site that doesn't support it.

This widespread encryption means that the specific content of your emails, your banking passwords, and your private messages are generally safe from local sniffers on public Wi-Fi. The "hype" often suggests that a hacker can simply "see everything you do," which is technically false for encrypted apps. The real risk has moved from the content of your data to the metadata of your connection. Even if they cannot see what you wrote in an email, they can see that you are connected to a specific bank's server or a specific medical provider's API.

Real remaining risks

If encryption protects your passwords, what are the real remaining risks? The primary modern threat is device fingerprinting and tracking. Every Wi-Fi radio has a unique hardware identifier called a MAC (Media Access Control) address. Historically, if you connected to three different coffee shops owned by the same chain, they could track your physical movement across the city by logging your MAC address. Android 13, 14, and 15 mitigate this with MAC Randomisation. On a Pixel, you can check this by going to Settings > Network & internet > Internet > [Tap the cog next to the Wi-Fi name] > Privacy. It should be set to "Use randomised MAC" by default.

Samsung One UI 6 users can find similar controls under Settings > Connections > Wi-Fi > [Tap the cog] > View more > MAC address type. Xiaomi HyperOS handles this similarly within the Wi-Fi details menu. However, even with a randomised MAC, your device might still broadcast its "hostname" (e.g., "Adrian’s-S24-Ultra"). This identifies you to the network administrator. To change this on most Android devices, go to Settings > About phone > Device name and change it to something generic like "Android" or "Pixel." This prevents your real name from appearing in the coffee shop's connection logs.

The second real risk is the "Evil Twin" attack. A hacker sets up a hotspot with the same name as a legitimate one—say, "Heathrow_Free_WiFi." If your phone is set to auto-connect, it might join the malicious network without your knowledge. While they still can't break HTTPS easily, they can perform "downgrade attacks" or redirect you to phishing pages. I recommend disabling auto-connect for public networks. On Android 14, go to Settings > Network & internet > Internet > Network preferences and toggle off "Connect to public networks." This ensures your device only connects when you manually allow it, giving you a chance to verify the network's legitimacy.

Captive portals and certificates

Most airport and cafe Wi-Fi networks use a "captive portal"—that web page that pops up asking for your email or for you to accept terms and conditions. These are inherently risky because they often require you to disable certain security features just to get online. A common tactic for sophisticated attackers is to present a captive portal that asks the user to "install a security certificate" to proceed. This is a massive red flag. If you install a root certificate from a stranger, you effectively give them the "keys" to decrypt your HTTPS traffic, making the protections I mentioned earlier useless.

In Android 14 and 15, Google made it significantly harder for apps or captive portals to install root certificates in the background. If a network asks you to download a ".crt" or ".cer" file, disconnect immediately. You can check for unauthorized certificates on a Samsung device by going to Settings > Security and privacy > More security settings > View trusted certificates > User. On a Pixel, path is Settings > Security & privacy > More security settings > Encryption & credentials > User credentials. This list should ideally be empty. Any certificate found here was likely installed manually or by a specialized corporate management app (MDM).

Captive portals also frequently use non-encrypted HTTP for the initial redirect. This is why Chrome might show a "Not Secure" warning when you first try to login at a hotel. Once you pass the portal and start using your standard apps, the encryption returns. To manage this safely, 1. Open your browser and navigate to a simple, non-sensitive site like "example.com" to trigger the portal. 2. Complete the login requirements. 3. Immediately close the browser tab. 4. Verify that the "lock" icon is present on all subsequent sites you visit. Avoid using your primary email address on these portals; use a burner or a disguised email alias to prevent your data from being sold to marketing aggregators.

DNS hijacking

DNS hijacking
Screenshot reference: DNS hijacking

When you type "atletismomelilla.com" into your browser, your phone asks a DNS (Domain Name System) server for the IP address. By default, your phone uses the DNS server provided by the public Wi-Fi network. This is a major privacy hole. The network owner can see every single domain you visit. Furthermore, they can engage in "DNS Hijacking," where they send you to a fake version of a website even if the URL in your browser looks correct. While HTTPS should technically flag an invalid certificate on the fake site, many users ignore the "Proceed Anyway" warnings.

Android 13 and later have a built-in solution called Private DNS (DNS over TLS). This encrypts your DNS queries so the local network owner cannot see where you are going. To enable this on any modern Android device: 1. Go to Settings > Network & internet > Private DNS. 2. Select "Private DNS provider hostname". 3. Type in a trusted provider like "dns.google" or "1dot1dot1dot1.cloudflare-dns.com". On Samsung One UI, this is located under Settings > Connections > More connection settings > Private DNS. Xiaomi HyperOS places it under Settings > Connection & sharing > Private DNS.

By using Private DNS, you bypass the local coffee shop's logging. This effectively closes the metadata gap. Even if you aren't using a VPN, the network admin will only see that you are sending encrypted data to a DNS provider, rather than seeing that you are visiting specific sites. This is the single most effective "zero-cost" privacy improvement you can make for public Wi-Fi safety. Note that some very restrictive public networks (like those in corporate offices or strictly controlled hotels) might block Private DNS; if you find you cannot get internet access, you may have to temporarily set this back to "Automatic."

When a VPN actually helps

Despite the "hype" from influencers, you do not always need a VPN for basic browsing on public Wi-Fi. However, there are three specific scenarios where a VPN becomes essential on Android. First, if you are using legacy apps that do not use HTTPS properly (rare, but possible with older corporate tools). Second, if you want to mask your IP address from the websites you visit, not just from the local network owner. Third, when you are on a network that uses aggressive filtering or blocking, which is common with airport wifi android users encounter.

When choosing a VPN for Android, avoid the "Free VPN" apps in the Play Store. These often sell your data to brokers, which defeats the entire purpose. Instead, look for services that support the WireGuard protocol, which is more efficient for mobile battery life. On Android 13/14/15, you can ensure your VPN stays active by going to Settings > Network & internet > VPN > [Tap the cog next to your VPN] and toggling on "Always-on VPN" and "Block connections without VPN." This prevents "leaks" where your phone might send data over the local network while the VPN is momentarily reconnecting.

Samsung users have access to a built-in feature called "Secure Wi-Fi." You can find this in Settings > Security and privacy > More security settings > Secure Wi-Fi. It functions like a basic VPN, providing a set amount of free protected data per month. While it is better than nothing, it is limited compared to dedicated services. Xiaomi users should check the "Security" app where "Network diagnostics" can sometimes warn of suspicious ARP spoofing on a public network. Ultimately, a VPN provides a "wrapper" of protection, but for the average user, encrypted HTTPS and Private DNS already cover 90% of the risk.

A pre-connect checklist

Before you tap "Connect" on that cafe wifi privacy shortcut, run through this mental or physical checklist to ensure your Android device is hardened. 1. Ensure "MAC Randomisation" is active in the Wi-Fi settings for that specific network. 2. Verify "Private DNS" is set to a provider like Google or Cloudflare. 3. Turn off "Auto-connect" for all public networks so you only join when purposeful. 4. Change your "Device name" to something that does not include your first or last name.

Once connected, be mindful of what you do. 1. If your browser warns you about an "Invalid Certificate" or "HSTS error," disconnect immediately; this is a sign of an active attack. 2. Avoid downloading any "required" software or certificates to get internet access. 3. If you must access sensitive work data or banking, this is the time to toggle on your "Always-on VPN." 4. When you are finished, use the "Forget" network option. On a Pixel: Settings > Network & internet > Internet > [Tap the cog] > Forget. This prevents your phone from broadcasting "Probes" for that network name everywhere you go, which is another way trackers find you.

As we move toward Android 16 and beyond, we expect to see even more automation in network security, including potential AI-driven detection of malicious base stations and improved WPA3 adoption for public hotspots. For now, the combination of OS-level encryption, randomised identifiers, and your own manual oversight remains the gold standard for mobile privacy. Stay aware, keep your software updated, and remember that on public networks, your metadata is often more valuable to trackers than your actual traffic content.

Watch

Video walkthrough

A short video on public wifi safety android to complement the steps above.

Key takeaways

  • Why HTTPS changed the game is where you start — it's the fastest win.
  • Real remaining risks: don't skip this — it's where most users leave settings at risky defaults.
  • Captive portals and certificates: don't skip this — it's where most users leave settings at risky defaults.
  • DNS hijacking: don't skip this — it's where most users leave settings at risky defaults.
  • Recheck these settings quarterly; OEM updates can reset toggles.

Frequently asked questions

Does changing these settings break apps?
Almost never. Modern Android apps must handle a denied permission or restricted access gracefully — they either skip the feature or prompt again when needed.
Will this drain my battery?
No. If anything, restricting background access and disabling tracking pipelines reduces battery and data usage.
Do these steps apply to Android 13, 14 and 15?
Yes. The menu paths shift slightly between versions and OEM skins (Pixel/stock, Samsung One UI, Xiaomi HyperOS), but the underlying controls behave the same.

References & further reading

Continue reading

Related guides