Is there any difference between starting the network filter by sending a configuration file from MDM and starting the network filter through sharedManager?

Hi, Team: Is there any difference in the underlying logic between starting the network filter by configuring the MDM description file through the first connection below and starting the network filter through the second connection in the code? First connection:https://developer.apple.com/documentation/devicemanagement/webcontentfilter?language=objc Second connection: https://developer.apple.com/documentation/networkextension/nefiltermanager?language=objc

Answered by DTS Engineer in 802495022

I presume you’re on macOS here, because iOS doesn’t let you start a content filter from code (except during development).

In general, starting your filter programmatically and starting it from code are equivalent. It’s possible you might bump into some edge cases where they different, but I’d expect them to basically work the same.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Accepted Answer

I presume you’re on macOS here, because iOS doesn’t let you start a content filter from code (except during development).

In general, starting your filter programmatically and starting it from code are equivalent. It’s possible you might bump into some edge cases where they different, but I’d expect them to basically work the same.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Is there any difference between starting the network filter by sending a configuration file from MDM and starting the network filter through sharedManager?
 
 
Q