Globally Disable Notifications on Lock Screen 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?
A simple solution (to cancel one by one more complicated):


A new option "When the screen is locked" has been added under notifications -> do not disturb section in Catalina OS as below: