---
title: "How Advanced Browsing Protection Works in Messenger"
description: "Advanced Browsing Protection checks links clicked in end-to-end encrypted Messenger chats against a large, frequently updated blocklist while revealing as little as possible about the URL to Meta."
url: "https://swe.quest/articles/how-advanced-browsing-protection-works-in-messenger-7c673f722bfcb274"
canonical: "https://engineering.fb.com/2026/03/09/security/how-advanced-browsing-protection-works-in-messenger/"
source: "Meta Engineering"
published: "2026-03-09"
difficulty: "hard"
kind: "Deep dive"
reading_minutes: 12
tags: ["privacy","cryptography","sandboxing","communications","security"]
---

# How Advanced Browsing Protection Works in Messenger

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2026-03-09, 12 min read, Deep dive. Original: [https://engineering.fb.com/2026/03/09/security/how-advanced-browsing-protection-works-in-messenger/](https://engineering.fb.com/2026/03/09/security/how-advanced-browsing-protection-works-in-messenger/)

## Summary

Advanced Browsing Protection checks links clicked in end-to-end encrypted Messenger chats against a large, frequently updated blocklist while revealing as little as possible about the URL to Meta. It builds on bucketed private information retrieval with an OPRF. A server-generated ruleset decides how many path segments to hash per domain, which keeps buckets balanced and preserves prefix matching, and requests and buckets are padded so their sizes leak nothing. The bucket identifier is protected further by an AMD SEV-SNP confidential VM with attestation and transparency-log signatures, Path ORAM or full scans to hide memory access patterns, and Oblivious HTTP through a third-party proxy to strip client identifiers.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Privacy](https://swe.quest/tags/privacy.md) (Security)
- [Cryptography](https://swe.quest/tags/cryptography.md) (Security)
- [Sandboxing & isolation](https://swe.quest/tags/sandboxing.md) (Security)
- [Communications](https://swe.quest/tags/communications.md) (Domains)
- [Security](https://swe.quest/tags/security.md) (Security)

## Prerequisites

- private information retrieval ([easy posts on Search](https://swe.quest/tags/search.md?difficulty=easy))
- oblivious pseudorandom functions
- trusted execution environments
- cryptographic hashing

## Keywords

Messenger, Advanced Browsing Protection, OPRF, AMD SEV-SNP, Path ORAM, Oblivious HTTP, Private Information Retrieval

## Related posts

- [Building end-to-end security for Messenger](https://swe.quest/articles/building-end-to-end-security-for-messenger-0573da5f5bbc2217.md): Meta Engineering · 2023-12-07 · Easy · 7 min read · Cryptography, Communications, Privacy, Security
  Messenger is rolling out end-to-end encryption by default for personal one-to-one chats, built on the Signal protocol and accompanied by two whitepapers covering the messaging protocol and Labyrinth, a new encrypted storage protocol.
- [Private Browsing 2.0](https://swe.quest/articles/private-browsing-2-0-e10509f44e8abcba.md): WebKit · 2024-07-16 · Medium · 19 min read · Privacy, Browsers, Security
  Safari 17.0–17.5 extends Private Browsing well beyond ephemeral storage, adding link tracking protection that strips known click-level tracking query parameters before navigation and hides URL query strings, fragments and cross-site referrers from third-party scripts.
- [Key Transparency Comes to Messenger](https://swe.quest/articles/key-transparency-comes-to-messenger-708dc659c9b4f0af.md): Meta Engineering · 2025-11-20 · Easy · 3 min read · Cryptography, Communications, Security
  Messenger now supports key transparency verification for end-to-end encrypted one-on-one chats, letting users automatically confirm that contacts' public keys haven't been swapped by a compromised server instead of comparing per-device keys manually.
- [Technology Deep Dive: Building a Faster ORAM Layer for Enclaves](https://swe.quest/articles/technology-deep-dive-building-a-faster-oram-layer-for-enclaves-6cb958aaa2507db9.md): Signal · 2022-08-19 · Medium · 16 min read · Privacy, Cryptography, Sandboxing & isolation, Algorithms, Communications
  Signal replaced linear-scan oblivious memory access in its SGX enclaves with a Path ORAM layer, so contact discovery can run efficient algorithms like binary search without leaking which phone numbers are looked up through RAM access patterns.
- [PrivacyLib: Privacy Controls at the Data Access Boundary](https://swe.quest/articles/privacylib-privacy-controls-at-the-data-access-boundary-f868c0b03bdc9ad2.md): Meta Engineering · 2026-10-27 · Medium · 17 min read · Privacy, System design, Identity & auth, AI agents, Performance engineering
  PrivacyLib is a common library embedded in the clients of hundreds of Meta data and processing systems that enforces and observes privacy requirements at the point of data access.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
