Creating a Mac OSX installer, so the installed application will not install a firewall

Now I am distributing the .app file to people in my organization. I drag it into / Applications, authenticating it as root, but every time users run the program, they get a firewall warning. (The application checks for updates at startup - it is very important for us). Since users are not admins, they cannot authenticate so that messages go away. Will the application installed by mpkg also provoke a firewall so that end users need an admin to check for updates? Is there a post-installation script that I can enable to configure the firewall for my application? The ultimate goal for me is to authenticate the administrator to run the installer. After installation, the administrator logs out,regular users will log in and run the application without any warning about the firewall.

EDIT: I have to mention that the minimum version in org is 10.5, but it would be nice if the solution worked on Tiger as well.

+1
source share
2 answers

If you sign the code for the application, even if it uses a self-signed certificate, the user will be asked only once to approve the launch of the application. Subsequent updates that provide a signature certificate will be the same, will not cause a dialog.

For more information, see the code signing document and this tech note .

+1
source

, Mac , , . .

, , , .

, OS X .

+2

Source: https://habr.com/ru/post/1731123/


All Articles