gatekeeper not remembering app exceptions on 10.15.4

on system preferences > security and privacy > general > checked allow apps downloaded from app store


When a app is given an exception after trying to run it by clicking open anyway on the same window, the exception only lasts around two days, then it is asking for the administrator password again to run any app not from app store.


I use this to protect my children from por nography by blocking tor browser which enables them to bypass all parental controls. Since I travel for work and I dont have time for excempting every legitimate non appstore app they use every 2 days I need the excemptions to work permanently. I have reformatted the hard drive 4 times and reinstalled and all times its given me the same thing.


I have another older macbook on 10.14 and that one remembers the permissions permanently. Either there is a bug where gatekeeper does not remember the exception when one clicks open anyway permanently, or the period for which an app is exempted was changed from permanent to only 2 days on 10.15.4. Which is it?


This is a serious issue as this is the only way to prevent tor browser from being downloaded and run. Tor browser enables any user to bypass all parental controls easily.


Parental controls are the only reason I buy apple products. Its the only thing apple has that windows doesnt have.



MacBook

Posted on May 15, 2020 9:07 AM

Reply

Similar questions

13 replies

May 15, 2020 11:04 AM in response to rcoin

That Gatekeeper exemption is a per-app exemption. It sounds like you only happened wait a couple of days to try another non-Mac App Store app. There is no time limit on a Gatekeeper bypass. It bypasses only that one app that one time and nothing else. It sounds like it is working as designed. You can also just right-click or control-click on an app and choose "open" from the context menu.


Otherwise, I think you are on a wild goose chase for a couple of reasons:

1) There are plenty of apps in the Mac App Store that would allow someone bypass parental controls. Tor browser is irrelevant.

2) You said "we developers". Are you saying that you are a developer? Is your child also technically inclined? Regardless, there is a good chance that any given child might be clever and resist being controlled. Parental controls are for "normal kids". 😀 If you have a hacker, just give up now. This is a fight that you can't win. Parental controls are trivially easy to bypass. And if you've installed homebew on the machine too, the only difficulty is choosing the method.

May 15, 2020 9:28 AM in response to rcoin

Did you move the App off the disk image and into the Applications folder?

It sounds like you are running the app off of the Disk Image. When you restart, the disk is ejected and the app becomes brand new every time you run it off the disk image.


App Store apps should not be asking for permission to run. That is already granted by the App Store

May 15, 2020 11:21 AM in response to etresoft

It bypasses only that one app that one time and nothing else. It sounds like it is working as designed.

I have my older macboook here with 10.15.3 and the bypass is permanent on that version. The bypass has been permanent for me for the past 5 years.


If one chooses app store and identified developers then the limited user need only click on tor browser and it will open it. Theres no need to install tor browser into the applications folder.


if apple chose to change the bypass period to two days instead of permanent then they should have included an option for the permanent or two day periods. Right now the whole thing is broken because one cannot prevent tor browser from running while preserving functionality with the previously bypassed non app store apps. I also noticed that some apps are totally bypassing gatekeeper without needing to be bypassed at all. Also the window that used to pop up in 10.15.3 when one clicks an app that was previous approved changed in 10.15.4. In 10.15.4 there is no dialog that pops up and the app just opens. This makes me think that maybe its a bug and not a deliberate change to a 2 day period instead of permanent exception.


I have homebrew installed but without the administrator credentials the limited user cant install anything from homebrew.

May 15, 2020 9:57 AM in response to Barney-15E

Yes I approve it form the child's limited account (but with the administrator credentials) then i test it on the child's account to make sure it works. Homebrew doesn't have a gui but some of the apps you download from there do. This approach has worked for me perfectly for 5 years until now.


If you're approving an app from a administrator account and not the limited account then you already have privileges.


Por nography can be a crippling lifelong addiction that destroys marriages and lives and it is of the outmost importance to protect children from it. Not to mention the other illegal things that are on tor that could get them in trouble.

May 15, 2020 5:16 PM in response to rcoin

rcoin wrote:

Yes this is what i was talking about with regards to permanent. However on 10.15.4 it is asking again after 2 days.

I'm not sure what you are seeing, but I can assure you that no such 2 day timeframe exists. It simply doesn't work that way.

exactly I was using gatekeeper to prevent tor browser from running.

It doesn't do that.

Sadly the app control on restrictions only allows a minimum of 1 minute for an app. Theres no way to completely block an app the most one can do is set a daily 1 minute limit. The limit should be able to be set to 0 to completely block an app.

Maybe look for some 3rd party solutions instead.

May 15, 2020 9:32 AM in response to Barney-15E

No all apps were put on the applications folder with the admin password at the time of installation. Some apps were installed from the web and other from homebrew. App store apps do run fine, but its the non appstore apps that dont run even though they were given exception by clicking "open anyway" after they were rejected the first time on the security and privacy window. As we all know we developers are heavily dependent on non appstore apps such as homebrew and unity for example.

May 15, 2020 11:55 AM in response to rcoin

rcoin wrote:

I have my older macboook here with 10.15.3 and the bypass is permanent on that version. The bypass has been permanent for me for the past 5 years.

That's just a screen shot of the preference pane. Can you explain why you think there is a permanent bypass?

if apple chose to change the bypass period to two days instead of permanent then they should have included an option for the permanent or two day periods.

There is no two day bypass. There is no permanent bypass. I'm really not sure what you are talking about here. You can bypass Gatekeeper for a single downloaded app. But that is a single file downloaded one time. You can download a file, bypass gatekeeper to run it, and then trash the file. If you download the very same file again, 10 seconds later, gatekeeper will block it. If your Gatekeeper is not doing that, then your Gatekeeper is completely disabled.

right now the whole thing is broken because one cannot prevent tor browser from running while preserving functionality with the previously bypassed non app store apps.

I'm not familiar with parental controls. There appears to be an option to set time limits for individual apps: https://support.apple.com/en-ca/guide/mac-help/mchl630bc02f/10.15/mac/10.15

I also noticed that some apps are totally bypassing gatekeeper without needing to be bypassed at all.

I'm not sure what you mean. Once you bypass Gatekeeper for a single app, it stays bypassed forever. Is this what you were talking about with regards to "permanent"?


Gatekeeper works like its name. It is a "gate keeper". When you download an outside of the Mac App Store (according to your preferences) it is blocked. Once you allow the app "inside the gate" then it can run, forever. If you download an update to the app, or even if you download the same file again, that new download is blocked until you allow it to bypass gatekeeper.


But the important thing here is that Gatekeeper is NOT parental controls. Perhaps that is the problem here. Gatekeeper ONLY protects you from hostiles on the internet. If you have a hostile "inside the gates" (i.e. a clever child) then Gatekeeper can by bypassed in a few seconds. It is trivially easy.

Also the window that used to pop up in 10.15.3 when one clicks an app that was previous approved changed in 10.15.4. In 10.15.4 there is no dialog that pops up and the app just opens. This makes me think that maybe its a bug and not a deliberate change to a 2 day period instead of permanent exception.

There was never any pop up for an app that was already approved.

I have homebrew installed but without the administrator credentials the limited user cant install anything from homebrew.

I was just using homebrew as example. It is not necessary. I think I understand the problem now. You are confusing Gatekeeper with Parental Controls. They have absolutely nothing to do with each other. If Parental Controls is not working the way you want, you should probably start a new question and specifically ask about that.


With all due respect, you are completely wrong about Gatekeeper. It simply doesn't work the way you describe and never has. If someone, either a person or a malicious app, is on the other side of Gatekeeper, then they can disable it entirely. Or, they just bypass it as needed, keeping you totally in the dark. There is no need to download anything. If there is a malicious user on your machine, then they have all the tools they need to bypass Gatekeeper. Using Parental Controls, you should be able to limit what apps they can run, but you will have to limit that very, very strictly. Any use of the Terminal, or homebrew, is game over.

May 15, 2020 12:08 PM in response to etresoft

I'm not sure what you mean. Once you bypass Gatekeeper for a single app, it stays bypassed forever. Is this what you were talking about with regards to "permanent"?

Yes this is what i was talking about with regards to permanent. However on 10.15.4 it is asking again after 2 days.

Gatekeeper works like its name. It is a "gate keeper". When you download an outside of the Mac App Store (according to your preferences) it is blocked. Once you allow the app "inside the gate" then it can run, forever. If you download an update to the app, or even if you download the same file again, that new download is blocked until you allow it to bypass gatekeeper.

exactly I was using gatekeeper to prevent tor browser from running.




Sadly the app control on restrictions only allows a minimum of 1 minute for an app. Theres no way to completely block an app the most one can do is set a daily 1 minute limit. The limit should be able to be set to 0 to completely block an app.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

gatekeeper not remembering app exceptions on 10.15.4

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.