Skip to main content
QUICK REVIEW

[Paper Review] Encore: Lightweight Measurement of Web Censorship with Cross-Origin Requests

Sam Burnett, Nick Feamster|arXiv (Cornell University)|Oct 5, 2014
Internet Traffic Analysis and Secure E-votingComputer Science20 references7 citations
TL;DR

Encore proposes a lightweight, browser-based system that leverages cross-origin requests to measure web censorship at scale without requiring users to install custom software. By embedding a one-line script in web pages, it induces unmodified browsers to test reachability of target URLs, enabling longitudinal, globally distributed measurements from diverse vantage points with minimal overhead and ethical risks.

ABSTRACT

Despite the pervasiveness of Internet censorship, we have scant data on its extent, mechanisms, and evolution. Measuring censorship is challenging: it requires continual measurement of reachability to many target sites from diverse vantage points. Amassing suitable vantage points for longitudinal measurement is difficult; existing systems have achieved only small, short-lived deployments. We observe, however, that most Internet users access content via Web browsers, and the very nature of Web site design allows browsers to make requests to domains with different origins than the main Web page. We present Encore, a system that harnesses cross-origin requests to measure Web filtering from a diverse set of vantage points without requiring users to install custom software, enabling longitudinal measurements from many vantage points. We explain how Encore induces Web clients to perform cross-origin requests that measure Web filtering, design a distributed platform for scheduling and collecting these measurements, show the feasibility of a global-scale deployment with a pilot study and an analysis of potentially censored Web content, identify several cases of filtering in six months of measurements, and discuss ethical concerns that would arise with widespread deployment.

Motivation & Objective

  • To address the challenge of collecting longitudinal, globally distributed measurements of web censorship, which is difficult due to limited access to diverse vantage points.
  • To leverage existing browser capabilities—specifically cross-origin requests—so that unmodified browsers can perform censorship measurements without requiring users to install custom tools.
  • To enable scalable, continuous data collection from real users' browsers, increasing representativeness and coverage compared to small-scale or non-representative deployments.
  • To explore the feasibility of ethical, large-scale censorship measurement using passive, client-side instrumentation via webmasters' scripts.
  • To identify practical limitations and ethical concerns of using client-side cross-origin requests for censorship measurement, informing future tool design and policy.

Proposed method

  • Embed a lightweight JavaScript script in web pages that triggers cross-origin image requests to target URLs to test reachability.
  • Use browser-provided event handlers (e.g., 'load' and 'error') to detect whether target content loaded successfully or was blocked.
  • Submit measurement results via cross-origin AJAX requests to a centralized collector server, using a unique measurement ID to correlate results.
  • Minimize performance impact by hiding the test image and using standard browser mechanisms for resource loading.
  • Coordinate measurement scheduling and result collection through a distributed platform that manages task distribution and data aggregation.
  • Obfuscate and minify client-side code to prevent tampering and improve deployment security.

Experimental results

Research questions

  • RQ1Can cross-origin requests in standard web browsers be used to reliably detect web filtering without requiring client-side software installation?
  • RQ2To what extent can a large-scale, passive measurement system be built using existing browser behavior and minimal changes to web infrastructure?
  • RQ3What are the performance and deployment overheads of embedding censorship measurement scripts in real-world web pages?
  • RQ4How effective is the system in detecting actual instances of web censorship across diverse geographic and network environments?
  • RQ5What ethical risks arise from using unsuspecting users' browsers to perform censorship measurements, and how can they be mitigated?

Key findings

  • Encore successfully demonstrated feasibility through a pilot study, showing that cross-origin requests can detect filtering with high confidence using only standard browser features.
  • The system achieved global-scale measurement potential by leveraging existing web infrastructure and user traffic, enabling data collection from diverse, real-world vantage points.
  • The method detected multiple cases of web filtering across six months of measurements, including instances of domain-wide blocking.
  • The performance overhead of the script was minimal, with no significant impact on page load times or user experience reported in the pilot.
  • Ethical concerns were raised by the research community, particularly regarding user consent and potential risks in repressive regimes, prompting calls for stronger ethical guidelines in network measurement.
  • The SIGCOMM Program Committee acknowledged the technical contribution but highlighted the ethical controversy, noting that future guidelines should require informed consent and avoid exposing users to substantial harm.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.