Skip to main content

Cos'è un Captive Portal e come funziona?

A comprehensive technical reference for IT managers and venue operators on the architecture, deployment, and business impact of captive portals. This guide provides actionable insights into device detection, the Captive Network Assistant (CNA), and best practices for implementation in enterprise environments.

📖 7 min di lettura📝 1,617 parole🔧 2 esempi3 domande📚 8 termini chiave

🎧 Ascolta questa guida

Visualizza trascrizione
What Is a Captive Portal and How Does It Work? A Purple Technical Briefing — Episode Runtime: Approximately 10 Minutes --- INTRODUCTION AND CONTEXT — approximately 1 minute Welcome. If you're responsible for a network that serves guests, visitors, or the public — whether that's a hotel, a retail estate, a stadium, or a conference centre — then captive portals are almost certainly part of your infrastructure today. And yet, in my experience advising IT teams across a range of sectors, the captive portal is one of the most misunderstood components in the entire guest WiFi stack. People know what it does — it's that login page that pops up when you connect to the WiFi at an airport or a coffee shop. But very few IT managers can tell you precisely how it works under the bonnet, why devices behave differently, or what the architectural trade-offs are when you're deploying at scale. So in the next ten minutes, I want to give you a clear, practical picture of captive portal architecture — from the initial HTTP intercept all the way through to how Purple's platform turns that authentication moment into a genuine business intelligence asset. Let's get into it. --- TECHNICAL DEEP-DIVE — approximately 5 minutes Let's start with the fundamentals. A captive portal is a network access control mechanism that intercepts a device's outbound internet traffic and redirects it to a designated web page — the splash page — before granting full network access. It creates what's commonly called a "walled garden": a restricted state where only traffic to the portal itself is permitted. Now, how does that interception actually happen? There are two primary mechanisms, and understanding the difference matters for your deployment architecture. The first is DNS hijacking. When a device connects to your access point and attempts to resolve any domain name — say, google.com — your gateway intercepts that DNS query and returns the IP address of your captive portal server instead. The device's browser then loads the portal page, believing it has reached its intended destination. This is the most widely deployed approach because it works regardless of the HTTP or HTTPS status of the destination. The second mechanism is HTTP redirect. Here, the gateway allows the DNS resolution to succeed, but intercepts the subsequent HTTP request and issues a 302 redirect response, pointing the browser to the portal URL. This approach is cleaner in terms of DNS integrity, but it has a significant limitation: it only works for plain HTTP traffic. With the near-universal adoption of HTTPS, most modern implementations combine both techniques. Now, here's where it gets technically interesting: the Captive Network Assistant, or CNA. Every major operating system — iOS, macOS, Android, and Windows — has a built-in mechanism for detecting captive portals automatically. The moment your device associates with a WiFi network, the operating system fires off an HTTP probe to a known endpoint. Apple devices probe captive.apple.com/hotspot-detect.html and expect an HTTP 200 response containing the word "Success". Android probes connectivitycheck.gstatic.com/generate_204 and expects an HTTP 204 No Content response. Windows uses its Network Connectivity Status Indicator, or NCSI, probing www.msftncsi.com/ncsi.txt. If the response doesn't match the expected value — which it won't, because your gateway has intercepted it — the operating system concludes it's behind a captive portal and automatically launches the CNA. On iOS and macOS, this is a lightweight mini-browser — sometimes called the Captive Portal Mini Browser, or CPMB — that opens as a modal overlay. On Android 11 and later, it's a dedicated captive portal handler. On Windows, it opens the default browser. This automatic detection is enormously important for user experience. Without it, users would need to manually open a browser and navigate somewhere before the portal appeared. The CNA eliminates that friction entirely. However — and this is a critical point for your implementation — the CNA mini-browser is not a full browser. It has significant limitations. There are no persistent cookies. Local storage is restricted. JavaScript support varies by OS version. The window closes automatically once authentication completes, and on iOS, it will also close if the user switches to another application mid-flow. This means your splash page design must account for these constraints. Heavy JavaScript frameworks, third-party social login SDKs, and complex redirect chains can all fail silently inside a CNA environment. Let me walk you through the complete authentication flow from a network architecture perspective. Step one: the device associates with the SSID and obtains an IP address via DHCP. At this point, the gateway places the device in an unauthenticated state — it can reach the portal server, and nothing else. Step two: the OS fires its captive portal detection probe. The gateway intercepts this and returns an unexpected response, triggering the CNA. Step three: the CNA loads the splash page. The user completes the required action — accepting terms, entering an email address, authenticating via social login, or entering a voucher code. Step four: upon successful completion, the portal server sends an authorisation signal to the gateway, typically via an API call or a RADIUS authentication message. The gateway identifies the device by its MAC address and moves it from the unauthenticated to the authenticated state. Step five: full internet access is granted. The CNA closes. The user is online. From a standards perspective, the gateway-to-portal communication is typically handled via one of three protocols. RADIUS, defined under RFC 2865, is the most mature and widely supported. WISPr — the Wireless Internet Service Provider roaming protocol — is an XML-based standard used specifically for hotspot authentication. And increasingly, modern deployments use vendor-specific REST APIs, which offer greater flexibility but require tighter integration between your portal platform and your network hardware. One more architectural consideration worth flagging: MAC address randomisation. Since iOS 14, Android 10, and Windows 10 version 2004, devices randomise their MAC address per SSID by default. This has significant implications for session management and returning visitor recognition. If your portal relies on MAC address persistence for re-authentication — allowing returning visitors to skip the portal — you need to understand that this mechanism is increasingly unreliable. Purple's platform addresses this through profile-based authentication and device fingerprinting techniques that are more resilient to MAC randomisation. --- IMPLEMENTATION RECOMMENDATIONS AND PITFALLS — approximately 2 minutes Let me give you the practical guidance that actually matters when you're deploying this in a production environment. First: design for the CNA, not the full browser. Your splash page should be lightweight, load in under two seconds on a 3G connection, and avoid any JavaScript that requires persistent storage or cross-origin requests. Test your portal specifically inside the iOS CNA — not just in Safari — because the behaviour is materially different. Second: get your walled garden right. The walled garden is the list of domains and IP addresses that unauthenticated devices can reach before completing the portal flow. At minimum, this needs to include your portal server, your CDN endpoints, and any third-party authentication providers you're using — Google OAuth, Facebook Login, and so on. A misconfigured walled garden is the single most common cause of portal failures in enterprise deployments. If a social login provider's JavaScript SDK can't load because its CDN domain isn't whitelisted, the login button simply won't work — and users will blame the WiFi. Third: plan for HTTPS. DNS hijacking doesn't work for HTTPS destinations because the browser will throw a certificate error before the redirect can complete. Modern captive portal implementations use an HTTP-only probe domain — typically a vendor-specific endpoint — specifically to avoid this. Ensure your gateway is configured to intercept the OS probe URLs rather than relying on intercepting arbitrary HTTPS traffic. Fourth: GDPR and data compliance. If you're collecting personal data at the portal — email addresses, phone numbers, social profile data — you need explicit consent under GDPR, and that consent must be granular. Bundling marketing consent with terms of service acceptance is not compliant. Purple's platform includes configurable consent management that is purpose-built for GDPR, CCPA, and PDPA compliance, with audit trails for every consent event. Fifth: session management and bandwidth policy. Define your session timeout, idle timeout, and per-device bandwidth limits before you go live. In a hotel environment, a 24-hour session with a 10 Mbps per-device cap is a reasonable starting point. In a stadium, you'll want much shorter sessions — perhaps 4 to 6 hours — with aggressive bandwidth shaping to ensure equitable throughput across thousands of concurrent connections. The most common pitfall I see in enterprise deployments is treating the captive portal as a set-and-forget component. It isn't. OS updates — particularly iOS major releases — regularly change CNA behaviour. Apple's move to require HTTPS for captive portal detection in iOS 14 caught many operators off-guard. You need a monitoring process that validates portal behaviour after every major OS release. --- RAPID-FIRE Q AND A — approximately 1 minute Let me address a few questions I hear regularly. Can I use a captive portal with WPA2 or WPA3 encryption? Yes. The portal layer operates at the application level, above the wireless encryption layer. You can — and should — run your guest SSID with WPA2 or WPA3 Personal encryption even when using a captive portal. This protects the over-the-air traffic even before authentication completes. Does a captive portal satisfy PCI DSS network segmentation requirements? Partially. The portal enforces logical separation between guest and corporate networks, but PCI DSS requires that your cardholder data environment be on a completely separate network segment with no bridging. A captive portal alone is not sufficient — you need VLAN segmentation at the switch and controller level. What's the difference between a captive portal and IEEE 802.1X? They solve the same problem — network access control — but at different layers. 802.1X is a port-based authentication standard that operates at Layer 2, before an IP address is even assigned. Captive portals operate at Layer 7, after IP assignment. 802.1X is more secure and more seamless for corporate devices with certificates, but it requires device-side configuration. Captive portals work with any device, any OS, with zero pre-configuration — which is why they remain the dominant choice for guest access. --- SUMMARY AND NEXT STEPS — approximately 1 minute To bring this together: a captive portal is a network access control mechanism that intercepts unauthenticated traffic and redirects it to a splash page. The CNA — built into every major operating system — automates the detection and presentation of that portal. The authentication flow involves DNS interception, gateway state management, and a handoff between your portal platform and your network hardware. For Purple customers, the platform abstracts this complexity entirely. You get a drag-and-drop splash page builder, pre-built integrations with Cisco Meraki, Aruba, Ruckus, and Extreme Networks, GDPR-compliant consent management, and real-time analytics that turn every WiFi authentication event into a data point in your customer intelligence platform. If you're evaluating a captive portal deployment — or looking to migrate from a legacy solution — the three things I'd recommend you assess first are: CNA compatibility across your target device mix, your walled garden configuration, and your data compliance posture. Purple's professional services team can run a full network readiness assessment for you. The link is in the show notes. Thanks for listening. --- END OF SCRIPT

header_image.png

Sintesi esecutiva

Un Captive Portal è la pagina web che intercetta la connessione di un utente a una rete WiFi pubblica o ospite, richiedendo di eseguire un'azione (come accettare i termini, inserire un'email o autenticarsi con un account social) prima di concedere l'accesso completo a Internet. Per i responsabili IT, gli architetti di rete e i gestori delle strutture, il Captive Portal rappresenta un punto di controllo critico per la sicurezza della rete, la conformità legale e il coinvolgimento degli utenti. Se implementato correttamente, trasforma una semplice utility in un potente strumento per raccogliere business intelligence, promuovere iniziative di marketing e migliorare l'esperienza dei visitatori. Questa guida fornisce un approfondimento tecnico sull'architettura alla base dei Captive Portal, inclusi i meccanismi di intercettazione (DNS hijacking e HTTP redirect), il ruolo del Captive Network Assistant (CNA) nei moderni sistemi operativi e gli standard (RADIUS, WISPr) che regolano l'autenticazione. Offre indicazioni pratiche e indipendenti dal fornitore per l'implementazione in ambienti enterprise come hotel, catene di vendita al dettaglio e stadi, concentrandosi sulle best practice di sicurezza, sulla mitigazione dei rischi e sulle strategie per misurare il ritorno sull'investimento (ROI). Comprendendo le sfumature tecniche e il valore strategico dei Captive Portal, i leader IT possono garantire che le loro implementazioni WiFi per gli ospiti siano sicure, conformi e allineate agli obiettivi aziendali più ampi.

Approfondimento tecnico

Architettura principale: il Walled Garden

Un Captive Portal opera creando un "walled garden" (giardino recintato), uno stato di rete limitato in cui un dispositivo appena connesso ha l'accesso a Internet bloccato fino al completamento di un processo di autenticazione. Ciò si ottiene attraverso due tecniche di intercettazione principali implementate a livello di gateway di rete o controller wireless.

  1. DNS Hijacking: Quando un dispositivo non autenticato tenta di risolvere un nome di dominio (es. google.com), il gateway di rete intercetta la query DNS. Invece di restituire l'indirizzo IP pubblico corretto, risponde con l'indirizzo IP del server del Captive Portal. Il browser del dispositivo avvia quindi una connessione al portale, credendo che sia la destinazione prevista. Questo è il metodo più comune in quanto intercetta efficacemente il traffico indipendentemente dal protocollo.

  2. HTTP Redirect: In questo modello, il gateway consente alla query DNS di risolversi correttamente. Tuttavia, quando il dispositivo invia la sua richiesta HTTP iniziale, il gateway la intercetta e risponde con un codice di stato HTTP 302 "Found", reindirizzando il browser all'URL del Captive Portal. Il limite principale di questo metodo è la sua inefficacia contro il traffico HTTPS, poiché i protocolli di sicurezza del browser impediranno il reindirizzamento e mostreranno un avviso di certificato. I sistemi moderni utilizzano un approccio ibrido, affidandosi al DNS hijacking come meccanismo principale.

architecture_overview.png

Il Captive Network Assistant (CNA)

La comparsa fluida e automatica della splash page sui dispositivi moderni è orchestrata dal Captive Network Assistant (CNA), una funzionalità integrata in tutti i principali sistemi operativi. Nel momento in cui un dispositivo si connette a una nuova rete WiFi, il sistema operativo esegue un test di "liveness" inviando un probe HTTP a un endpoint predefinito.

  • Apple (iOS e macOS): Invia un probe a captive.apple.com/hotspot-detect.html e si aspetta una risposta HTTP 200 contenente la parola "Success".
  • Android: Invia un probe a connectivitycheck.gstatic.com/generate_204 e si aspetta una risposta HTTP 204 "No Content".
  • Windows (NCSI): Il Network Connectivity Status Indicator invia un probe a www.msftncsi.com/ncsi.txt e si aspetta una risposta HTTP 200 con il testo "Microsoft NCSI".

Se il gateway intercetta questo probe e restituisce qualcosa di diverso dalla risposta prevista, il sistema operativo deduce di trovarsi dietro un Captive Portal e avvia automaticamente il CNA (un "mini-browser" leggero e in sandbox) per visualizzare la splash page. Questo processo elimina la necessità per gli utenti di aprire manualmente il browser, migliorando significativamente l'esperienza utente.

cna_detection_diagram.png

Autenticazione e concessione dell'accesso

Una volta che l'utente interagisce con la splash page (ad esempio, inviando un modulo), il server del portale comunica con il gateway di rete per autorizzare il dispositivo. Questo processo è tipicamente gestito tramite uno dei tre protocolli seguenti:

  • RADIUS (Remote Authentication Dial-In User Service): Lo standard più comune (RFC 2865), in cui il portale agisce come client RADIUS, inviando una richiesta di autenticazione con l'indirizzo MAC del dispositivo al gateway (che funge da server RADIUS).
  • WISPr (Wireless Internet Service Provider roaming): Un protocollo basato su XML per l'autenticazione hotspot, sebbene la sua adozione sia meno diffusa rispetto a RADIUS.
  • API proprietarie: Molti fornitori moderni di hardware di rete (come Cisco Meraki, Aruba e Ruckus) forniscono API RESTful che consentono un controllo più flessibile e granulare sull'autorizzazione dei dispositivi; questo è il metodo di integrazione utilizzato da Purple.

A seguito di un'autenticazione riuscita, il gateway sposta l'indirizzo MAC del dispositivo dallo stato "non autenticato" a quello "autenticato", rimuove le restrizioni del walled garden e concede l'accesso completo a Internet per una durata della sessione predefinita.

Guida all'implementazione

L'implementazione di un Captive Portal di livello enterprise richiede un'attenta pianificazione che va oltre il design della splash page. Segui questi passaggi indipendenti dal fornitore per un'implementazione di successo.

  1. Definire le policy di accesso: Determina i metodi di autenticazione (es. social login, verifica email/SMS, codici voucher), la durata della sessione, i timeout di inattività e i limiti di larghezza di banda. Per un hotel, potrebbe essere appropriata una sessione di 24 ore con un limite di 10 Mbps. Per uno stadio ad alta densità, è più realistica una sessione di 4 ore con un limite di 2 Mbps e un traffic shaping aggressivo.

  2. Configurare il Walled Garden: Crea una whitelist completa di tutti i domini e gli indirizzi IP a cui un dispositivo non autenticato deve poter accedere. Ciò include il server del portale stesso, la sua CDN per gli asset (immagini, CSS) e gli endpoint per eventuali provider di autenticazione di terze parti (es. i domini OAuth di Google e Facebook). Un walled garden incompleto è la causa principale dei fallimenti nelle implementazioni dei portali.

  3. Progettare una splash page ottimizzata per il CNA: La splash page deve essere leggera e reattiva. Dovrebbe caricarsi in meno di 3 secondi su una connessione cellulare ed evitare JavaScript complessi o framework pesanti che potrebbero non funzionare nell'ambiente sandbox del CNA. Tutte le azioni dell'utente dovrebbero essere realizzabili all'interno di un'unica visualizzazione di pagina per evitare problemi di chiusura prematura del CNA.

  4. Integrazione con l'hardware di rete: Configura il controller wireless o il gateway per puntare al server del tuo Captive Portal. Ciò comporta l'impostazione dell'URL del portale, la definizione dei parametri di autenticazione RADIUS o API e la specifica del comportamento di reindirizzamento. Purple fornisce integrazioni predefinite che automatizzano questo processo per tutti i principali fornitori di hardware.

  5. Garantire la conformità dei dati: Se raccogli dati personali, il flusso del tuo portale deve incorporare meccanismi di consenso espliciti e granulari conformi a normative come il GDPR e il CCPA. Il consenso per il marketing deve essere separato dall'accettazione dei termini di servizio. La piattaforma Purple include un framework di gestione del consenso completamente conforme con log verificabili.

retail_analytics_dashboard.png

Best practice

  • Dare priorità alla sicurezza con WPA2/WPA3: Esegui sempre il tuo SSID ospite con, come minimo, la crittografia WPA2-Personal. Un Captive Portal è un controllo a livello di applicazione e non crittografa il traffico over-the-air. La combinazione della crittografia con un portale fornisce una sicurezza a più livelli.
  • Implementare la segmentazione di rete: Utilizza le VLAN per separare rigorosamente il traffico degli ospiti dalla rete aziendale interna. Un Captive Portal fornisce una separazione logica, ma è necessaria una segmentazione fisica o virtuale per soddisfare standard come il PCI DSS.
  • Gestire la randomizzazione degli indirizzi MAC: I moderni sistemi operativi mobili randomizzano gli indirizzi MAC per impostazione predefinita per impedire il tracciamento. Affidarsi esclusivamente agli indirizzi MAC per il riconoscimento dei visitatori di ritorno non è più praticabile. Sfrutta piattaforme come Purple che utilizzano il device fingerprinting avanzato e l'autenticazione basata sul profilo per identificare gli utenti di ritorno.
  • Monitorare e testare regolarmente: Gli aggiornamenti del sistema operativo, in particolare da parte di Apple, possono modificare il comportamento del CNA senza preavviso. Stabilisci un protocollo di test trimestrale per convalidare la funzionalità del tuo portale sulle versioni più recenti di iOS, Android e Windows.

Risoluzione dei problemi e mitigazione dei rischi

Modalità di guasto comune Causa principale Strategia di mitigazione
Mancato caricamento della splash page Walled garden incompleto che blocca l'accesso agli asset del portale (CSS, JS, immagini) o errore di risoluzione DNS. Testa e convalida accuratamente tutti i domini richiesti per il walled garden. Assicurati che il DNS sia configurato correttamente sulla VLAN ospite.
Fallimento dei social login I domini dei provider OAuth (es. accounts.google.com) non sono inclusi nel walled garden. Aggiungi tutti i domini di autenticazione di terze parti richiesti al walled garden. Utilizza gli strumenti per sviluppatori del browser per tracciare le richieste di rete durante il flusso di accesso.
Chiusura imprevista della finestra del CNA La splash page tenta un reindirizzamento complesso o cerca di aprire una nuova scheda, operazione non supportata nel CNA. Progetta un flusso di autenticazione a pagina singola. Assicurati che tutte le interazioni avvengano all'interno della pagina iniziale del portale.
Utenti non reindirizzati (HTTPS) Il gateway sta tentando un reindirizzamento HTTP su un sito HTTPS, causando un errore di sicurezza del browser. Assicurati che il gateway sia configurato per il DNS hijacking, che è efficace sia per il traffico HTTP che HTTPS.
Scarse prestazioni / Accesso lento La splash page è troppo pesante (immagini ad alta risoluzione, framework JavaScript pesanti). Ottimizza tutti gli asset e punta a un peso totale della pagina inferiore a 500 KB. Ritarda il caricamento degli script non essenziali.

ROI e impatto aziendale

Il valore aziendale di un Captive Portal va ben oltre la fornitura dell'accesso a Internet. Il ROI si misura attraverso la sua capacità di convertire visitatori anonimi in clienti noti e di generare risultati aziendali tangibili.

  • Acquisizione dati: Acquisendo indirizzi email, profili social o risposte a sondaggi al momento dell'accesso, le strutture possono creare ricchi profili CRM. Una catena di vendita al dettaglio può attribuire la visita a un negozio fisico a un cliente specifico nel proprio database di marketing, colmando il divario tra online e offline.
  • Maggiore coinvolgimento: La splash page è un cartellone digitale ad alta visibilità. Gli hotel possono promuovere servizi spa o prenotazioni di ristoranti. I centri congressi possono mostrare i programmi degli eventi e i messaggi degli sponsor. Questo canale di comunicazione diretta può generare entrate incrementali.
  • Intelligenza operativa: Le piattaforme di analisi WiFi come Purple utilizzano i dati di autenticazione per fornire approfondimenti dettagliati sul comportamento dei visitatori. Le mappe di calore rivelano i modelli di affluenza, l'analisi del tempo di permanenza mostra i livelli di coinvolgimento e le metriche sui visitatori di ritorno aiutano a misurare la fedeltà. Uno stadio può utilizzare questi dati per ottimizzare il personale dei punti ristoro, mentre un museo può analizzare la popolarità delle mostre.

Sfruttando una piattaforma come Purple, il Captive Portal diventa il fondamento della strategia di location intelligence di una struttura, offrendo ritorni misurabili in termini di efficacia del marketing, efficienza operativa e soddisfazione del cliente.

Termini chiave e definizioni

Captive Portal

A web page that intercepts a newly connected user's browser, requiring them to perform a specific action before being granted full internet access.

This is the primary mechanism IT teams use to control access to guest and public WiFi networks, serving as a gateway for authentication, compliance, and user engagement.

Splash Page

The specific web page or user interface that is displayed to the user by the captive portal for authentication.

This is the main user-facing component. Its design and performance are critical for user experience and for achieving business goals like data capture or marketing.

Captive Network Assistant (CNA)

A built-in operating system feature (also known as a 'mini-browser') that automatically detects a captive portal and displays the splash page.

IT teams must design splash pages specifically for the CNA's limited, sandboxed environment, as it behaves differently from a standard web browser and is a common point of failure.

Walled Garden

The list of whitelisted IP addresses and domain names that an unauthenticated user is allowed to access before completing the captive portal authentication.

A misconfigured walled garden is the most common reason for portal failures. Network architects must ensure it includes all necessary endpoints for the portal and any third-party login providers.

DNS Hijacking

An interception technique where a network gateway provides a false IP address (that of the portal server) in response to a DNS query from an unauthenticated device.

This is the core mechanism that makes captive portals work, allowing the network to redirect users to the splash page regardless of the website they are trying to visit.

RADIUS (RFC 2865)

A standard networking protocol for centralized Authentication, Authorization, and Accounting (AAA) management.

In a captive portal context, it's a common way for the portal server to tell the network gateway that a user has been authenticated and should be granted internet access.

MAC Address Randomization

An OS-level privacy feature where a device uses a different, randomly generated MAC address for each WiFi network it connects to.

This feature makes it difficult for IT teams to track unique devices over time using traditional methods. It necessitates a shift towards profile-based authentication for accurate visitor analytics.

IEEE 802.1X

An IEEE standard for port-based Network Access Control (PNAC) that provides authenticated network access to Ethernet networks and WLANs.

This is the enterprise-grade alternative to captive portals, often used for corporate devices. It offers higher security but requires client-side configuration, making it unsuitable for guest access scenarios where simplicity is key.

Casi di studio

A 200-room luxury hotel needs to replace its outdated guest WiFi system. The goal is to provide a seamless, branded login experience, offer tiered bandwidth (free for basic access, paid for premium streaming), and promote hotel amenities like the spa and restaurant directly on the splash page. The hotel uses Cisco Meraki access points.

  1. Deployment with Purple & Meraki: Leverage Purple's native API integration with the Cisco Meraki dashboard. Create a new SSID for guest access (e.g., 'Hotel_Guest_WiFi') and configure it with WPA2-Personal encryption. In the Meraki dashboard, set the 'Splash Page' option to 'Sign-on with' and select 'Purple'.
  2. Tiered Access Configuration: Within the Purple platform, create two access tiers. The 'Free' tier is configured with a 5 Mbps bandwidth cap and a 24-hour session time. The 'Premium' tier is set to 25 Mbps with no cap and requires payment via an integrated Stripe gateway.
  3. Splash Page Design: Use Purple's drag-and-drop editor to design the splash page. The initial view presents the 'Free' option (login with email or social media) and a prominent 'Upgrade to Premium' button. Upon successful free login, the user is redirected to a welcome page featuring a carousel of promotions for the hotel's restaurant and spa, with direct links to the booking engine.
  4. Compliance: Enable Purple's GDPR/CCPA consent module, ensuring separate checkboxes for 'Terms of Service' and 'Marketing Communications'.
Note di implementazione: This solution is effective because it uses a pre-built API integration, which is more reliable and flexible than a RADIUS-based approach. The tiered access model creates a direct revenue stream from the WiFi service, while the post-login promotion page is a non-intrusive way to drive engagement with hotel amenities. Using a dedicated platform like Purple abstracts the complexity of CNA compatibility and data compliance.

A national retail chain with 500 stores wants to offer free guest WiFi to understand in-store customer behavior and build its marketing database. They need a scalable solution that provides centralized management and delivers analytics on footfall, dwell time, and repeat visits. The existing hardware is a mix of Aruba and Ruckus.

  1. Centralized Management: Deploy Purple across all 500 stores. The platform's hardware-agnostic nature allows for consistent configuration across both Aruba and Ruckus controllers from a single cloud dashboard.
  2. Authentication & Data Capture: Configure the splash page to require social login (Facebook or Google) or email address submission. This captures valuable demographic data and a marketing contact for every user who connects.
  3. Analytics & Integration: Leverage Purple's WiFi analytics suite. The platform will automatically generate dashboards for each store and at the corporate level, showing metrics like unique visitors, dwell times by zone (if location services are enabled), and repeat visitor rates. Set up a daily data export via API to feed the captured email addresses and visitor metrics directly into the company's master CRM (e.g., Salesforce).
  4. Scalable Deployment: Create a single splash page template and apply it to all locations. Any updates to branding or promotions can be pushed to all 500 stores simultaneously from the central dashboard.
Note di implementazione: The key to this solution is scalability and centralization. By using a hardware-agnostic overlay platform, the chain avoids being locked into a single vendor's captive portal solution. The direct CRM integration is critical for ROI, as it makes the collected data immediately actionable for the marketing team. This turns the WiFi infrastructure from a cost center into a rich source of business intelligence.

Analisi degli scenari

Q1. You are deploying a new guest WiFi network in a conference center. A key requirement is that attendees can log in using their LinkedIn profile to facilitate networking. During testing, the LinkedIn login button on the splash page does nothing when clicked on an iPhone. What is the most likely cause and how would you troubleshoot it?

💡 Suggerimento:Consider the sandboxed environment of the CNA and its network restrictions.

Mostra l'approccio consigliato

The most likely cause is an incomplete walled garden. The LinkedIn OAuth flow requires the device to access several domains (e.g., linkedin.com, static-exp1.licdn.com) to load its authentication scripts and display the login pop-up. Because the iPhone is in an unauthenticated state, the CNA is blocking these requests. To troubleshoot, I would connect a laptop to the guest SSID, open the browser's developer tools, and monitor the 'Network' tab while attempting to log in. This will reveal all the blocked domains, which must then be added to the gateway's walled garden whitelist.

Q2. A retail client wants to measure the loyalty of their in-store shoppers by tracking how many of them are repeat visitors. Their current captive portal only identifies devices by MAC address. Why is this approach flawed and what alternative strategy should you propose?

💡 Suggerimento:Think about modern mobile OS privacy features.

Mostra l'approccio consigliato

This approach is flawed due to MAC address randomization, a default privacy feature in iOS, Android, and Windows that assigns a different MAC address for each WiFi network. A returning customer's phone will appear as a new device on each visit, making MAC-based loyalty tracking highly inaccurate. I would propose a shift to a profile-based authentication strategy using Purple. By requiring a social login or an email/phone number verification, we can create a persistent user profile that is independent of the device's MAC address. This allows for accurate tracking of repeat visits and builds a much richer CRM profile for the client.

Q3. A hotel is receiving complaints that its premium paid WiFi tier, which is supposed to be faster, feels no different from the free tier. The network is configured with a 5 Mbps cap on the 'Free' user profile and a 50 Mbps cap on the 'Premium' profile. Where in the network architecture would you investigate to diagnose this issue?

💡 Suggerimento:Consider the entire data path from the access point to the internet egress.

Mostra l'approccio consigliato

The issue is likely not with the captive portal profiles themselves, but with a bottleneck further up the network chain. I would investigate in this order: 1. Wireless Controller/Gateway: Verify that the bandwidth shaping or Quality of Service (QoS) policies are being correctly applied to the user roles associated with the 'Free' and 'Premium' profiles. 2. Firewall: Check the firewall for any global traffic shaping policies that might be overriding the per-user rules from the controller. 3. Internet Circuit: Run a speed test from the gateway's LAN interface to confirm the total available internet bandwidth. It's possible the entire property's internet connection is saturated or performing below its subscribed speed, making the per-user caps irrelevant. 4. Access Point Saturation: In high-density areas, check the client load and channel utilization on the specific APs the complaining users are connected to. RF interference or an overloaded AP can also be a bottleneck.

Punti chiave

  • A captive portal is a web page that intercepts user traffic on a guest WiFi network to enforce authentication and policy.
  • The automatic pop-up is handled by the Captive Network Assistant (CNA), a mini-browser in all major operating systems.
  • Core interception works via DNS hijacking or HTTP redirect at the network gateway.
  • Splash pages must be designed to be lightweight and functional within the limited, sandboxed CNA environment.
  • A correctly configured 'walled garden' is critical for ensuring third-party social logins work correctly.
  • Modern OS privacy features like MAC address randomization make profile-based authentication essential for accurate visitor analytics.
  • A captive portal platform like Purple transforms a network access tool into a powerful asset for business intelligence, marketing, and compliance.