How to suppress Allow/DontAllow popup when we call filterManager.saveToPreferences?

Hi, I have Content Filter Simple Firewall example from Apple site and modified as per my requirement and I able to compile & run with my developer id account.

As part of NE activation request, throwing the Allow/Don't Allow popup after allowing the NE from security preferences. When I went through the code I got to know that this popup is getting from filterManager.saveToPreferences as part of activation request. Attached the screen shot for reference. How to suppress this allow/disallow popup? Please help me.

This daemon process internally will start the .app to activate the NE.

For the moment, remove any daemon or agent from the equation. Get rid of it. Only use a container app (.app) that sits in the /Applications folder. Open the container app from the /Applications folder with Finder, not from the Terminal. Once the container app is open, use a set of buttons to walk through and install the Network System Extension and then the Network Configuration. When prompted for the Network Configuration, hit don't allow. Restart, does this happen still without the daemon or agent being present and opening the container app from the Finder?

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com

Everything is working fine if we tried manually after user login. We are not getting popup if automatic login option is enabled. If automatic login option is disabled then popup is coming before user login into the machine. Looks like user space is yet loaded before activating extension. I think, user space should load to activate the NE.

How to suppress Allow/DontAllow popup when we call filterManager.saveToPreferences?
 
 
Q