I'm using macOS High Sierra (version 10.13.3) on a 27"-iMac and on a MacBook Pro.
Almost every time when I'm going to log in, I see various notification on the lock screen, even before I've entered my password. This means, that everybody, who passes by and moves the mouse or presses a key (or opens the lid on the MacBook), will see this notifications too, without being logged in. This is a security issue.
I know, that in the settings, I can deactivate Notifications on Lock Screen for every application. But there are 31 applications that are able to send notifications, and I don't want to click through all of them to deactivate this setting for every application separately.
I might oversee one of them, and when I install a new application, I might forget to deactivate this insecure behavior.
So I want a button where I can deactivate this insecure behavior globally, i.e. for all installed apps, and for all apps that might be installed later.
Is there such a button? If there is one: Where is it?
launchctl
command. That could be combined with an utilitiy like >Hammerspoon to execute those commands when the lock screen is activated or disactivatedalways
instead ofwhen unlocked
. I have been looking as well how to set default to, but did not find solution. There is also StackOverflow question related to this issue here: stackoverflow.com/questions/52661430/…