Goal : Block all outbound connections to a static list of hosts (both In-app requests and WKWebView/Safari).
App & both extensions have Network Extension entitlement with content-filter-provider and filter-control-provider
What’s working:
Safari and WKWebView requests matching the block list are dropped.
What’s broken:
In-app traffic never reaches the Data Provider—those requests always succeed.
Setup:
• NEFilterProviderConfiguration with both Data & Control providers, filterBrowsers = true, filterSockets = true
• Data Provider implements handleNewFlow for socket/browser flows
• Control Provider implements handleNewFlow for browser flows
• Enabled via saveToPreferences() and toggled ON in Settings
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I’m working on an iOS parental-control app that needs to block specific network traffic (e.g. certain domains or URLs). We’ve already obtained the Family Controls entitlement (since our app is explicitly a parental-control solution), but we do not use MDM to supervise devices. In testing, our NEFilterDataProvider extension only activates when the device is enrolled under a managed Family Controls profile. I am aware that we can use a PacketTunnel to achieve this but i was wondering if there is any simpler solution to this?
Thanks for you time!