G,

> On Jun 28, 2020, at 15:31, Gabriel Zachmann <z...@cs.uni-bremen.de> wrote:
> 
> 
>>> Does anyone know how to programmatically disable macOS from launching the 
>>> screen saver on macOS?
>>> I would like to do that in one of my apps.
>> 
>> Not sure in general, but in a managed host situation this type of system 
>> modification could be disallowed by policy.  Even admin users of a managed 
>> system can be barred from changing settings like these as they can affect 
>> security, eg when passwords must be prompted.  You wouldn’t want any person 
>> to be able to walk by and quit your app and have access to the user’s files.
> 
> Yes, agreed.  That is why I would like to disable ONLY the screensaver, 
> NOT System Preferences / Security / Require password ...
The ability to disable the screensaver timeout/activation can be blocked by 
policy.  On a system configured this way, the only way to change this setting 
is from the OpenDirectory server or the policy server.  Any attempt to change 
screensaver timeout/activation settings locally, by you (your software) or even 
an admin user with physical access to the system can be disallowed.  

Sandor

> 
> Ideally, my app could bring up the password prompt itself before quitting.  
> Is that possible?
> 
> 
> 
> Best regards, Gabriel
> 
> 
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to