TechTok #9. How do browser extensions work, and what is a firewall?

When we launched the TechTok series last December, we had imagined it as a way to directly answer the questions that you, our readers, may have about technologies surrounding ad blocking and privacy protection. Simple formula — you ask, we answer. And it’s been like that for eight issues, thanks to your questions that you all have been sending through our special online form. However, today we’re taking a small sidestep.

Both of today’s questions come from AdGuard’s CTO and Co-Founder Andrey Meshkov, who’s noticed that some common tech terms get thrown around a lot but are rarely explained clearly. So, let's keep it simple and get to the first one:

How do browser extensions work?

First, let’s define what browser extensions are. To put it very simply, they are mini-programs that run within your browser and modify your web experience in one way or another. Those small icons next to the address bar? That’s browser extensions. They can do all sorts of things — from small tweaks to major upgrades. Some just change how links open or copy text automatically, while others go much further — blocking ads and trackers, working as VPNs, or even using AI to help you write or summarize content. Normally you don’t need to know much more than how to add them to your browser. But how do all these extensions actually work? Let’s get to the bottom of this.

The main thing about browser extensions is in their very name. Unlike standalone software, they can’t work without their browser. At the core of the browser-extension interaction lie APIs (Application Programming Interfaces) — collections of methods and properties provided by browsers that allow extensions limited, permission-based access to some of the browser’s features and data. For example, if an API allows to create new tabs or close the existing ones, an extension can do it by accessing that API, provided the extension has the necessary permissions. The more features and data the extension wants to access, the more permissions it requires, so pay close attention to permission requests when installing a new toy into your browser. But more on that later.

Generally speaking, each browser developer creates their own APIs suited specifically for that browser. This is why it is not uncommon to find an extension for, say, Chrome, that won’t work on Safari, or vice versa. This isn’t ideal, of course, so there has been an effort to standardize and unify these APIs under a common framework, one of the examples is the WebExtensions API. Thanks to it, most major browsers like Chrome, Firefox, and Safari offer largely compatible extension APIs. It allows developers to create extensions that work across multiple browsers with potentially very few changes. This isn’t a given, however. In many cases making your extension work smoothly across different browsers requires a lot of work, and not every developer has resources and desire to walk that extra mile.

Circling back to the matters of security, let’s talk about the confinements that browsers impose on extensions. Browser extensions work in so-called sandboxes — enclosed environments that allow each extension to only access browser APIs and limit its interaction with the operating system and other applications. Every extension has a manifest where it declares the permissions it needs to perform its functions (for example, permissions to modify the page’s contents or to initiate and cancel downloads). The browser then enforces these permissions and won’t allow the extension to do anything that goes beyond their scope. This way, even if the extension is compromised, it won’t have the means to inflict damage to processes and files outside its reach, at least in theory.

You often hear warnings against installing browser extensions from outside the official stores. That’s because these stores add an additional layer of defense. Whenever a developer submits their extension to the store, they undergo a review process. During this process, they need to explain why their extension needs all the permissions it asks for. If upon inspecting the code the reviewer decides that the requested permissions are excessive for the functionality that the extension offers, it may be rejected from the store. The review process is not error-proof, though. There are plenty of examples when extensions admitted into popular stores, like Chrome Store, have gone rogue and stolen users’ data, or worse. This is why it is very important to always review the extension’s permissions before installing it.

Finally, when talking about extensions and security, it is impossible not to mention Chrome's transition to the new version of its extension platform, Manifest V3. We have written plenty about it, and even gave various talks on this at the Ad-Filtering Dev Summit,since its effect on browser extensions is severe, and on ad-blocking extensions is doubly so. It gave our devs a lot of headache, but credit where credit is due: it should improve the security in regard to Chrome browser extensions. It removes the ability for extensions to execute remotely hosted or arbitrary code, so all code will have to be reviewed. And this should if not eliminate, then significantly reduce the security risks.

Now to the next question...

What is a firewall?

This is one of those questions that, if we wanted to cover every angle, could easily take up ten pages. But instead of going down that rabbit hole, let’s zoom in on the key stuff. First, let’s tackle the most obvious question: why is it even called a firewall?

The word firewall wasn’t originally a tech term at all — it came way before the Internet. In its original meaning, a firewall was literally a wall that protected against fire. You’d find it inside buildings, where it was designed to stop flames from spreading from one part of the structure to another. Unlike regular walls, it was thicker, made purely of foundation materials, and usually didn’t have windows or anything else that could let fire pass through.

Firewall

In the world of computer networks, firewalls first appeared in the late 1980s. Much like their physical namesake, they were designed to stop the spread of something, in this case, unwanted or potentially harmful network traffic.

The first generation of firewalls were known as packet filters. These operated at the network layer, inspecting traffic by analyzing individual packets — the small chunks data is broken into when it travels across the Internet. Packet filters made decisions based on things like the source and destination IP addresses, port numbers, and transport protocols. At their core, these firewalls relied on a predefined set of rules that would allow or block traffic based on those properties.

Then, in the early 1990s, came the second generation of firewalls. Unlike the first gen, these were more complex firewalls known as “stateful firewalls”. They didn’t just look at one packet in isolation — instead, they could keep track of traffic over time. This meant they could remember the “state” of a connection, like whether a packet was part of an existing, approved session or just a random incoming request.

Firewalls kept evolving as the Internet kept evolving. The rise of web applications led to the development of application-layer firewalls, which operate at the application layer, hence the name. These firewalls are capable of understanding and filtering traffic based on specific protocols that support applications or services, like HTTP (used by web browsers to load websites) or DNS (used to resolve domain names into IP addresses), rather than just IP addresses and ports. Then, around 2008, firewalls started to include deep packet inspection (DPI) — a technique that allows them to analyze the actual contents of the data packets, not just their headers.

💡
No matter how they work or what layer they operate on, firewalls basically act as a barrier between two networks — like your home network and the wider Internet, or different segments of a company’s internal network — to control what gets through and what doesn’t.

When it comes to how a firewall is implemented, there are different forms. It can be a hardware firewall, where a physical device is placed at a network boundary to filter traffic (like a home router). It can be a software firewall — think of an app running on your device that filters traffic to and from that device (Windows Defender Firewall and the like). Or it can even be virtual or cloud-based, running remotely and protecting networks or devices without being tied to a specific piece of hardware.

Now, let’s answer a question that you might be curious about. Is AdGuard ad blocker a firewall? The short answer will be no, at least not in the traditional sense of the word. But our apps do have firewall features. Specifically, AdGuard for Android has a Firewall module that allows users to manage internet access for apps on their device. This module enables users to control which apps can access the internet, blocking or allowing access as needed.

This feature becomes especially useful when apps behave suspiciously — like sending data even when you're not using them. With AdGuard for Android’s firewall module, you can block internet access for specific apps, disable background traffic when your screen is off, or even cut off mobile data while roaming. It gives you full control over how and when your apps connect online without needing to root your phone or dig through complex system settings.

While firewalls can be helpful tools that you can use to protect your home network or your privacy and security on-device, more often than not the word ‘firewall’ is now associated with censorship. This is in large part due to the notoriety that the Great Firewall of China has gained over the years. And we cannot wrap this up without at least saying at least a few words about it.
The GFC is a massive, state-run censorship system aimed at restricting access to foreign internet content from within China — including services like Google, Facebook, Twitter, and YouTube. It uses a mix of techniques like DNS spoofing, keyword-based URL filtering, deep packet inspection (DPI) and even packet forging to block or disrupt traffic. There are more GFC-like state-controlled systems in the world that primarily function as censorship tools at the guise of security, but that’s a topic worthy of its own article.

این پست را دوست داشتید؟
AdGuard VPN AdGuard DNS AdGuard Mail AdGuard Wallet
AdGuard VPN AdGuard DNS AdGuard Mail AdGuard Wallet
صفحه اصلی AdGuard برای Windows
صفحه محافظت AdGuard برای Windows که ویژگی‌ها و تنظيمات محافظت را نشان می‌دهد
صفحه آمار AdGuard برای Windows که آمار تبلیغات و رَدیاب‌های مسدود شده را نشان می‌دهد
صفحه مدیریت برنامه AdGuard برای Windows که گزینه‌های مدیریت محافظت برای برنامک‌های نصب‌شده روی دستگاه را نشان می‌دهد
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

AdGuard برای Windows: مسدودکننده تبلیغات برای رایانه شخصی

AdGuard برای ویندوز چیزی فراتر از یک مسدودکننده تبلیغات است. این یک ابزار چندمنظوره است که تبلیغات را مسدود می‌کند، دسترسی به سایت‌های خطرناک را کنترل می‌کند، بارگذاری صفحات را سریع‌تر می‌کند و از کودکان در برابر محتوای نامناسب محافظت می‌کند
با دانلود برنامه شما شرایط توافقنامه مجوز را قبول می کنید
Microsoft Store
با دانلود برنامه شما شرایط توافقنامه مجوز را قبول می کنید
AdGuard برای Windows v8.0، دوره آزمایشی 14روزه
صفحه اصلی AdGuard برای Mac
صفحه حالت نهان AdGuard برای Mac
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

AdGuard برای مک: مسدودکنندهٔ تبلیغات در سطح سیستم

AdGuard برای Mac یک مسدودکنندهٔ تبلیغات منحصربه‌فرد است که با در نظر گرفتن macOS طراحی شده است. علاوه بر محافظت از شما در برابر تبلیغات آزاردهنده در مرورگرها و برنامه‌ها، شما را در برابر ردیابی، فیشینگ و کلاهبرداری نیز محافظت می‌کند
با دانلود برنامه شما شرایط توافقنامه مجوز را قبول می کنید
بیشتر بخوانید
AdGuard برای Mac v2.19، دوره آزمایشی 14روزه
صفحه اصلی AdGuard برای Android
صفحه حفاظت در برابر ردیابی AdGuard برای Android
صفحه مدیریت برنامه AdGuard برای Android که گزینه‌های مدیریت محافظت برای برنامک‌های نصب‌شده روی دستگاه را نشان می‌دهد
صفحه آمار AdGuard برای Android که آمار تبلیغات و رَدیاب‌های مسدود شده را نشان می‌دهد
صفحه اصلی مرورگر خصوصی AdGuard برای Android
کد QR برای بارگیری AdGuard برای Android
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

ادگارد برای اندروید: مسدودکنندهٔ تبلیغات برای همهٔ برنامه‌ها

تبلیغات و ردیاب‌ها را در همه مرورگرها، بازی‌ها و سایر برنامه‌ها مسدود می‌کند. از حریم خصوصی شما محافظت می‌کند و به شما امکان می‌دهد کنترل کنید برنامه‌هایتان چگونه از اینترنت استفاده می‌کنند. از طریق APK نصب می‌شود
با دانلود برنامه شما شرایط توافقنامه مجوز را قبول می کنید
بیشتر بخوانید
اسکن برای دانلود
استفاده از هر کد خوان QR موجود در دستگاه شما
AdGuard برای اندروید v4.14، دوره آزمایشی 14روزه
صفحه اصلی AdGuard برای iOS
صفحه محافظت AdGuard برای iOS که ویژگی‌ها و تنظيمات محافظت را نشان می‌دهد
صفحه آمار AdGuard برای iOS که آمار تبلیغات و رَدیاب‌های مسدود شده را نشان می‌دهد
کد QR برای بارگیری AdGuard برای iOS
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

AdGuard برای iOS: مسدودکنندهٔ تبلیغات فراتر از Safari

بهترین مسدودکننده تبلیغات iOS برای iPhone و iPad. AdGuard همه انواع تبلیغات و ردیاب‌ها را در Safari حذف می‌کند و از حریم خصوصی شما در همه برنامه‌ها در سطح DNS محافظت می‌کند
با دانلود برنامه شما شرایط توافقنامه مجوز را قبول می کنید
بیشتر بخوانید
اسکن برای دانلود
استفاده از هر کد خوان QR موجود در دستگاه شما
AdGuard برای iOS نسخه 4.5
صفحه اصلی AdGuard Content Blocker
صفحه فیلترها در AdGuard Content Blocker
صفحه تنظيمات در AdGuard Content Blocker
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

مسدودساز محتوای AdGuard

AdGuard Content Blocker انواع تبلیغات را در مرورگرهای تلفن همراه که از فناوری مسدود کردن محتوا پشتیبانی می کنند حذف می کند - یعنی اینترنت سامسونگ و مرورگر Yandex. ویژگی های آن در مقایسه با AdGuard برای اندروید محدود است، اما رایگان، نصب آسان و کارآمد است
با دانلود برنامه شما شرایط توافقنامه مجوز را قبول می کنید
بیشتر بخوانید
مسدودساز محتوای AdGuard نسخه 2.8
صفحه اصلی افزونه مرورگر AdGuard
صفحه حفاظت در برابر ردیابی افزونه مرورگر AdGuard
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

افزونه مرورگر AdGuard

AdGuard سریع ترین و سبک ترین افزونه ای است که انواع تبلیغات را در صفحات وب مسدود می کند! AdGuard را برای مرورگری که میخواهید انتخاب کنید و وب گردی امن و سریع را تجربه کنید.
نصب
با دانلود برنامه شما شرایط توافقنامه مجوز را قبول می کنید
نصب
با دانلود برنامه شما شرایط توافقنامه مجوز را قبول می کنید
نصب
با دانلود برنامه شما شرایط توافقنامه مجوز را قبول می کنید
نصب
با دانلود برنامه شما شرایط توافقنامه مجوز را قبول می کنید
نصب
با دانلود برنامه شما شرایط توافقنامه مجوز را قبول می کنید
بیشتر بخوانید
نصب
با دانلود برنامه شما شرایط توافقنامه مجوز را قبول می کنید
بیشتر بخوانید
افزونه مرورگر AdGuard نسخه 5.5
صفحه اصلی AdGuard Assistant
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

AdGuard دستیار

افزونه مرورگر همراه برای برنامه های دسکتاپ AdGuard. این امکان را به شما می دهد که آیتم های سفارشی را در وب سایت ها مسدود کنید، وب سایت ها را به لیست مجاز اضافه کنید و گزارش ها را مستقیما از مرورگر خود ارسال کنید
AdGuard دستیار نسخه 1.4
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

AdGuard Home

AdGuard Home یک راه حل مبتنی بر شبکه برای مسدود کردن تبلیغات و ردیاب ها است. آن را یک بار روی روتر خود نصب کنید تا همه دستگاه های موجود در شبکه خانگی خود را پوشش دهید - بدون نیاز به نرم افزار مشتری اضافی. این امر به ویژه برای دستگاه های مختلف اینترنت اشیا که اغلب حریم خصوصی شما را تهدید می کنند بسیار مهم است
AdGuard Home نسخه 0.107
صفحه اصلی AdGuard Pro برای iOS
صفحه محافظت AdGuard Pro برای iOS که قابلیت‌ها و تنظيمات محافظت را نشان می‌دهد
صفحه آمار AdGuard Pro برای iOS که آمار تبلیغات و رَدیاب‌های مسدود شده را نشان می‌دهد
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

AdGuard Pro برای iOS

AdGuard Pro برای iOS با تمام ویژگی‌های پیشرفته محافظت در برابر مسدود کردن تبلیغات ارائه می‌شود. این نسخه همان ابزارهای نسخه پولی AdGuard برای iOS را ارائه می‌دهد. این نسخه در مسدود کردن تبلیغات در سافاری عالی عمل می‌کند و به شما امکان می‌دهد تنظیمات DNS را برای محافظت متناسب با نیاز خود سفارشی کنید. این نسخه تبلیغات را در مرورگرها و برنامه‌ها مسدود می‌کند، از فرزندان شما در برابر محتوای نامناسب محافظت می‌کند و اطلاعات شخصی شما را ایمن نگه می‌دارد.
با دانلود برنامه شما شرایط توافقنامه مجوز را قبول می کنید
بیشتر بخوانید
AdGuard Pro برای iOS نسخه 4.5
صفحه اصلی AdGuard Mini برای Mac
صفحه محافظت Safari در AdGuard Mini برای Mac
صفحه ایجاد رویه در AdGuard Mini برای Mac
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

AdGuard Mini برای Mac — مسدود کننده تبلیغات Safari

AdGuard Mini برای Mac یک مسدودکنندهٔ قدرتمند تبلیغات برای Safari است. این برنامک سبک، تبلیغات را حذف می‌کند، ردیاب‌ها را مسدود می‌کند و بارگذاری صفحه را سریع‌تر می‌کند. این ابزار به شما کمک می‌کند تا بدون حواس‌پرتی در Safari گشت‌و‌گذار کنید و داده‌های خود را خصوصی نگه دارید
نصب
با دانلود برنامه شما شرایط توافقنامه مجوز را قبول می کنید
بیشتر بخوانید
AdGuard Mini برای Mac نسخه 2.3
صفحه اصلی AdGuard برای Android TV با محافظت فعال شده
صفحه مسدودسازی تبلیغات AdGuard برای Android TV که ویژگی‌ها و تنظيمات آن را نشان می‌دهد
صفحه تنظيمات AdGuard برای Android TV
صفحه مدیریت برنامه AdGuard برای Android TV که برنامک‌هایی را نشان می‌دهد که در آن‌ها تبلیغات و رَدیاب‌ها مسدود شده‌اند
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

AdGuard برای Android TV

AdGuard برای Android TV تنها برنامه‌ای است که تبلیغات را مسدود می‌کند، از حریم خصوصی شما محافظت کرده و همانند یک دیوار آتش برای تلویزیون هوشمند شما عمل می‌کند. در مورد تهدیدات وب هشدار دریافت کنید، از DNS ایمن استفاده کرده و از انتقال داده اینترنتی رمزگذاری شده بهره‌مند شوید. آرامش داشته باشید و غرق نمایش‌های مورد علاقه خود با امنیت عالی و تبلیغات صفر شوید!
AdGuard برای Android TV v4.14، دوره آزمایشی 14روزه
نماد AdGuard، Agnar، در حالی که پنگوئن Linux را در دست دارد
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

AdGuard برای لینوکس

AdGuard برای لینوکس اولین مسدود کننده تبلیغات لینوکس در سراسر جهان است. تبلیغات و ردیاب‌ها را در سطح دستگاه مسدود کنید، از بین فیلترهای از پیش نصب شده انتخاب کنید یا فیلترهای خود را اضافه کنید - همه از طریق رابط خط فرمان
AdGuard برای لینوکس نسخه 1.4
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

AdGuard Temp Mail

یک تولید‌کننده رایانشانی موقت رایگان که شما را ناشناس نگه می‌دارد و از حریم خصوصی شما محافظت می‌کند. هرزنامه‌ای در صندوق ورودی اصلی شما در کار نخواهد بود!
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

AdGuard VPN

75 محل در سرتاسر جهان

دسترسی به هر محتوا

رمزگذاری قوی

سیاست عدم ذخیره وقایع

سریعترین اتصال

24/7 پشتیبانی

ارزیابی رایگان
با دانلود برنامه شما شرایط توافقنامه مجوز را قبول می کنید
بیشتر بخوانید
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

AdGuard DNS

AdGuard DNS راه حلی جایگزین برای مسدودسازی تبلیغات، حفاظت حریم خصوصی و نظارت والدین است. راه اندازی آسان و استفاده رایگان، آن حداقل حفاظت لازم در برابر تبلیغات آنلاین،ردیاب ها و فیشینگ ها را میدهد،و در همه سیستم عامل ها و دستگاه ها کار می کند.
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

AdGuard Mail

از هویت خود محافظت کنید، از هرزنامه دوری نمایید و صندوق ورودی خود را با نام‌های مستعار و رایانشانی‌های موقت ما امن نگه دارید. از خدمت رایگان فوروارد رایانامه و برنامک‌های ما برای همه سامانه‌عامل‌ها لذت ببرید
۲۰٬۴۳۸ 20438 بررسی
بسیار عالی!

AdGuard Wallet

یک کیف پول ارز دیجیتال امن و خصوصی که به شما امکان کنترل کامل بر دارایی‌هایتان را می‌دهد. چندین کیف پول را مدیریت کنید و هزاران ارز دیجیتال را برای ذخیره، ارسال و مبادله کشف کنید.
در حال بارگیری AdGuard برای نصب AdGuard، روی پرونده نشان داده شده توسط پیکان کلیک کنید گزینه "بازکردن " را انتخاب و روی "تایید" کلیک کنید — برای دانلود فایل منتظر بمانید. در پنجره باز شده، آیکون AdGuard را به پوشه "برنامه ها" بکشید.بابت انتخاب AdGuard متشکریم! گزینه "بازکردن " را انتخاب و روی "تایید" کلیک کنید — برای دانلود فایل منتظر بمانید. در پنجره باز شده روی "نصب" کلیک کنید.بابت انتخاب AdGuard متشکریم!
AdGuard را روی دستگاه تلفن همراه خود نصب کنید