Re: Prevent screen saver from starting, but don't prevent computer sleep
Re: Prevent screen saver from starting, but don't prevent computer sleep
- Subject: Re: Prevent screen saver from starting, but don't prevent computer sleep
- From: Sandor Szatmari via Cocoa-dev <email@hidden>
- Date: Sun, 28 Jun 2020 16:11:47 -0400
G,
> On Jun 28, 2020, at 15:31, Gabriel Zachmann <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden