Turn off the open safe files tick box

Not applicable

Hi,

Is their a way in Casper to make sure the open safe files in Safari is unticked? I couldn't see anything in Managed Preferences?

Best wishes

Michael

4 REPLIES 4

jarednichols
Honored Contributor

The key is AutoOpenSafeDownloads in the user's prefs
(~/Library/Preferences/com.apple.Safari.plist) and you'd set it to
<false/>.

You should be able to manually create a user-level MCX for that. See
screenshots. I haven't tested it, but it should work as I've got it.

j

-- Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436

![external image link](attachments/5ca0c8e1b24440b9b6fdd1e19e215fb0)
![external image link](attachments/4fc77ee1a4df4622ad58382df4909fa0)

RobertHammen
Valued Contributor II

I did this as a script. You can do it as a login script if you'd like.

Meat of the script (how you get $USERNAME assigned is your own issue ;)

`sudo -u $USERNAME defaults write com.apple.Safari AutoOpenSafeDownloads -bool false`

tanderson
Contributor

As others have said, you should be able to do this. I haven't done it in Casper but have tested it using MCX through OD and it worked.

Tom
------

Tom Anderson
Apple Network Engineer - Institutional Computing
Shenandoah University
1460 University Drive
Winchester, VA 22601

TechSpecialist
Contributor

Hi All,

Fast Forward to April 2020....

How do I make this happen? I'm terrible at creating scripts...