---
title: Filtering Network Traffic
framework: networkextension
role: sampleCode
role_heading: Sample Code
path: networkextension/filtering-network-traffic
---

# Filtering Network Traffic

Use the Network Extension framework to allow or deny network connections.

## Overview

Overview note: This sample code project is associated with WWDC 2019 session 714: Network Extensions for Modern macOS Configure the Sample Code Project This sample code project only runs on macOS.

## See Also

### Content filters

- [Content filter providers](networkextension/content-filter-providers.md)
