← Lab /Security & privacy

HTTP/2 features can act as lightweight, effective defenses against website fingerprinting

HTTP/2 enables application-layer defenses that substantially reduce fingerprinting accuracy with modest overhead

Security & privacy arXiv 4 Sep 2026 Defense Prototype evidence Threat model

Published as “Understanding the Privacy-Preserving Potential of HTTP/2 Against Webpage Fingerprinting”

Why it matters

Deploying lightweight HTTP/2 defenses can improve subpage privacy for ordinary HTTPS users without requiring Tor or VPN.

Summary

HTTP/2-based defenses can keep the attacker’s estimated candidate set above 13 webpages across all five datasets while reducing latency and bandwidth overhead compared to prior defenses. The paper demonstrates client-side (H2PC) and server-side (H2PS) designs that achieve macro-F1 ≤0.70 (or K* ≥7) with lower cost, though the strongest privacy settings incur higher overhead. The evidence is based on controlled replay experiments on five real-world sites with multiple fingerprinting models.

What they found 3

  1. H2PC keeps attacker Macro-F1 at or below 0.70 on all five datasets while substantially reducing latency and downstream overhead.

    “H2PC keeps attacker Macro-F1 at or below 0.70 on all five datasets while substantially reducing latency and downstream overhead.”

  2. H2PS keeps the attacker’s estimated candidate set above 13 webpages across all five datasets.

    “H2PS keeps the attacker’s estimated candidate set above 13 webpages across all five datasets.”

  3. Even the strongest attackers cannot narrow the set of plausible webpages to fewer than 26 candidates on four of five datasets with client-side defenses, or fewer than 63 candidates on any dataset with appropriately placed server-side defenses.

    “even the strongest attackers cannot narrow the set of plausible webpages to fewer than 26 candidates on four of five datasets with client-side defenses, or fewer than 63 candidates on any dataset with appropriately placed server-side defenses”

Caveats 5

  • The strongest H2PC configuration reduces Macro-F1 to 0.046 but incurs additional bandwidth and latency overhead.
  • On Udemy, the leakiest-server baseline retains a small privacy advantage over H2PS.
  • Latency and bandwidth overhead increase with stronger privacy settings, limiting practical deployment.
  • These five websites are case studies rather than a representative sample of the Internet.
  • The replay setup isolates HTTP/2-layer effects but does not reproduce live-Web variability such as browser/CDN scheduling, which may affect latency and intra-page variance.

What’s new here 4

  • Emulation of existing WF defenses using only HTTP/2 primitives at client and server sides.
  • New client-side defense (H2PC) that leverages flow-control randomization, PING padding, and guarding streams.
  • Server-side defense (H2PS) that uses HTTP/2 multiplexing, early hints, and flow-control to protect the whole page from the first-party server.
  • A unified benchmarking framework that combines hyperparameter-tuned attacks, information-theoretic leakage estimators, and overhead measurement.

Threat model stated by the source

Adversarypassive on-path observer with access to TCP layer metadata
Capabilitycannot modify traffic; can collect defended traces for training
Assumesdefense mechanism is known to the adversary; DNS and SNI leakage are mitigated by DoH/ECH