Setting Safari to always prompt for download location on macOS Sequoia
2024-10-17 21:54:1 Author: derflounder.wordpress.com(查看原文) 阅读量:2 收藏

Home > macOS, Management Profiles, Safari > Setting Safari to always prompt for download location on macOS Sequoia

Setting Safari to always prompt for download location on macOS Sequoia

One of the options in Safari is to set a location for file downloads to go to. By default, this is set to the Downloads directory in the logged-in user’s home folder.

An alternative option is to set Safari to always prompt for a download location. 

For those who want to set the option for Safari to always prompt for a download location, it is possible to set this on macOS Sequoia using the com.apple.Safari.SandboxBroker preference domain. For more details, please see below the jump.

The relevant preference domain and key values are below:

  • Preference domain: com.apple.Safari.SandboxBroker
  • Key: AlwaysPromptForDownloadFolder
  • Value: Boolean

This can be set for the logged-in user using the following defaults command:


This setting can also be managed by a configuration profile. Please see below for an example profile:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
<plist version="1">
<dict>
<key>PayloadUUID</key>
<string>572C7A43-A6A4-4A68-817D-352C0FD0FC72</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadOrganization</key>
<string>Company Name</string>
<key>PayloadIdentifier</key>
<string>572C7A43-A6A4-4A68-817D-352C0FD0FC72</string>
<key>PayloadDisplayName</key>
<string>Safari Always Prompt for Download Location</string>
<key>PayloadDescription</key>
<string />
<key>PayloadVersion</key>
<integer>1</integer>
<key>PayloadEnabled</key>
<true />
<key>PayloadRemovalDisallowed</key>
<true />
<key>PayloadScope</key>
<string>System</string>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadDisplayName</key>
<string>Custom Settings</string>
<key>PayloadIdentifier</key>
<string>5C19AE28-76ED-4B00-ABD8-B9B76EA88287</string>
<key>PayloadOrganization</key>
<string>Company Name</string>
<key>PayloadType</key>
<string>com.apple.ManagedClient.preferences</string>
<key>PayloadUUID</key>
<string>5C19AE28-76ED-4B00-ABD8-B9B76EA88287</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>PayloadContent</key>
<dict>
<key>com.apple.Safari.SandboxBroker</key>
<dict>
<key>Forced</key>
<array>
<dict>
<key>mcx_preference_settings</key>
<dict>
<key>AlwaysPromptForDownloadFolder</key>
<true />
</dict>
</dict>
</array>
</dict>
</dict>
</dict>
</array>
</dict>
</plist>

文章来源: https://derflounder.wordpress.com/2024/10/17/setting-safari-to-always-prompt-for-download-location-on-macos-sequoia/
如有侵权请联系:admin#unsafe.sh