How Advanced Browsing Protection Works in Messenger
We’re sharing the technical details behind how Advanced Browsing Protection (ABP) in Messenger protects the privacy of the links clicked on within chats while still warning people about malicious links. We hope that this post has helped to illuminate some of the engineering challenges and infrastructure components involved for providing this feature for our users. [...] Read More... The post How Advanced Browsing Protection Works in Messenger appeared first on Engineering at Meta .

Advanced Browsing Protection (ABP) in Messenger is a sophisticated feature designed to safeguard user privacy while still alerting them to potential threats in shared links. This article delves into the technical details of how ABP works, the engineering challenges faced, and the infrastructure components that make it possible.
Messenger's Safe Browsing feature is already a critical component of the platform, warning users about malicious links within end-to-end encrypted messages and calls. However, ABP takes this a step further by leveraging a continually updated watchlist of millions of potentially malicious websites. This advanced protection system is built to ensure that user privacy is maintained even as it identifies and warns about unsafe links.
To understand how ABP functions, it's essential to start with the concept of private information retrieval (PIR). PIR is a cryptographic primitive where a client queries a server holding a database to determine if a specific subject is part of that database. The goal of PIR is to minimize the amount of information the server learns about the client's query. In a theoretical PIR setup, the server could send the entire database to the client, enabling the client to perform subsequent queries independently. However, this approach is impractical for real-world applications.
In the context of ABP, the PIR concept is adapted to protect user privacy while still identifying malicious links. When a user clicks on a link in Messenger, ABP checks the link against a database of known malicious websites. The system is designed so that the server hosting this database learns as little as possible about the specific links users are clicking on. This ensures that user browsing habits and click patterns remain private.
The infrastructure supporting ABP is complex and involves multiple components working in harmony. One of the key elements is the use of cryptographic primitives, which are mathematical algorithms designed to secure data. These primitives are carefully crafted to balance the need for effective threat detection with the requirement to protect user privacy.
Another critical component of ABP is the continually updated watchlist of malicious websites. This list is maintained by Meta's security teams and is based on a combination of data from various sources, including user reports, threat intelligence, and machine learning models. The watchlist is updated in real-time to ensure that ABP can detect the latest threats effectively.
In addition to the watchlist, ABP also relies on on-device models for analyzing links shared in chats. These models are designed to run efficiently on user devices, minimizing the amount of data that needs to be transmitted to the server. This local processing helps to maintain user privacy while still providing timely warnings about potential threats.
The engineering challenges involved in building ABP were significant. One of the primary challenges was ensuring that the system could accurately identify malicious links without compromising user privacy. This required a delicate balance between the effectiveness of the threat detection algorithms and the level of information that could be shared with the server.
Another challenge was the need to integrate ABP seamlessly into Messenger's existing infrastructure. This involved working closely with other engineering teams to ensure that the new feature would not disrupt the platform's performance or stability.
Despite these challenges, the team behind ABP was able to deliver a feature that effectively protects user privacy while still providing valuable warnings about unsafe links. By leveraging advanced cryptographic techniques and a robust infrastructure, ABP represents a significant step forward in safeguarding Messenger users against online threats.
In conclusion, Advanced Browsing Protection in Messenger is a testament to the importance of balancing user privacy with effective threat detection. Through a combination of sophisticated cryptographic primitives, a continually updated watchlist of malicious websites, and on-device analysis, ABP provides users with the peace of mind that their browsing habits remain private, even as they are warned about potential dangers in the links they click on. This feature underscores the ongoing commitment of Meta's engineering teams to innovate and improve the security and privacy of Messenger users.










