Category filter
Configuration profile to manage Safari settings on Macs
Creating a custom configuration profile for Safari settings can be extremely beneficial for organizations that want to specify certain browsing settings for employees. For instance, enabling the restriction that blocks third-party cookies enhances privacy by preventing advertisers from tracking browsing traffic across various sites. Other settings include managing autofill information, setting up data storage preferences, organizing bookmarks, or setting up plugins and extensions. This document helps you create a customized profile to manage Safari settings on macOS. Deploying this configuration profile across multiple devices is simplified through Hexnode’s Deploy Custom Configuration feature.
Custom configuration profile to customize Safari settings on Mac
Deploy this configuration profile to modify settings in Safari on macOS.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 |
<?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"> <plist version="1.0"> <dict> <key>PayloadContent</key> <array> <dict> <key>AskBeforeSubmittingInsecureForms</key> <false/> <key>AutoFillFromAddressBook</key> <false/> <key>AutoFillMiscellaneousForms</key> <false/> <key>AutoFillPasswords</key> <true/> <key>AutoOpenSafeDownloads</key> <false/> <key>BlockStoragePolicy</key> <integer>2</integer> <key>BookmarksCollectionsIncludeAddressBook</key> <false/> <key>BookmarksCollectionsIncludeRendezvous</key> <false/> <key>BookmarksMenuIncludesBookmarksToolbar</key> <false/> <key>BookmarksMenuIncludesRendezvous</key> <true/> <key>DefaultBrowserPromptingState2</key> <integer>1</integer> <key>DefaultBrowserPromptingState3</key> <integer>2</integer> <key>DefaultDatabaseQuota</key> <integer>5242880</integer> <key>DidDisableIndividualExtensionsAfterRemovingOnOffSwitchIfNecessary</key> <true/> <key>ExtensionsEnabled</key> <false/> <key>HistoryAgeInDaysLimit</key> <integer>31</integer> <key>HomePage</key> <string>https://www.example.com</string> <key>NewTabBehavior</key> <integer>0</integer> <key>NewWindowBehavior</key> <integer>0</integer> <key>PayloadDisplayName</key> <string>Safari</string> <key>PayloadIdentifier</key> <string>com.apple.Safari.0E6DC77E-5749-48C6-A238-D9940486722A</string> <key>PayloadType</key> <string>com.apple.Safari</string> <key>PayloadUUID</key> <string>25973144-3DE0-4BCF-8445-370E64B92E7D</string> <key>PayloadVersion</key> <integer>1</integer> <key>SendDoNotTrackHTTPHeader</key> <false/> <key>TabCreationPolicy</key> <integer>1</integer> <key>WarnAboutFraudulentWebsites</key> <true/> <key>com.apple.Safari.ContentPageGroupIdentifier.WebKit2JavaScriptCanOpenWindowsAutomatically</key> <true/> <key>com.apple.Safari.ContentPageGroupIdentifier.WebKit2PrivateBrowsingEnabled</key> <true/> </dict> <dict> <key>PayloadDisplayName</key> <string>Parental Controls: Web Content Filter</string> <key>PayloadIdentifier</key> <string>com.apple.familycontrols.contentfilter.8D5B3487-6B77-46C7-B84B-97521FF3B1B8</string> <key>PayloadType</key> <string>com.apple.familycontrols.contentfilter</string> <key>PayloadUUID</key> <string>FD6D216A-99EA-4E14-A897-3ED755E4FDA1</string> <key>PayloadVersion</key> <integer>1</integer> <key>filterBlacklist</key> <array> <string>https://www.sample.com</string> </array> <key>restrictWeb</key> <true/> <key>useContentFilter</key> <true/> </dict> </array> <key>PayloadDisplayName</key> <string>Safari Settings</string> <key>PayloadIdentifier</key> <string>MacBook-Air.111FB8B4-4F6B-44D9-89D0-10FF9D001A03</string> <key>PayloadScope</key> <string>System</string> <key>PayloadType</key> <string>Configuration</string> <key>PayloadUUID</key> <string>4F63CB8B-5B18-40D3-8489-59C7EF2CCD4D</string> <key>PayloadVersion</key> <integer>1</integer> <key>TargetDeviceType</key> <integer>5</integer> </dict> </plist> |
The following configurations can be customized.
Keys | Descriptions |
---|---|
AskBeforeSubmittingInsecureForms | This key is used to enable or disable the system to alert when a form is submitted to non-secure sites.
<true/> enables system alerts, which will help to prevent the unintended submission of sensitive data where it might be insecure. <false/> |
AutoFillFromAddressBook | This key is used to specify whether Safari can autofill contact information from the device’s Address Book into web forms.
<true/> indicates that autofill for web forms from saved contact information is enabled, allowing automatic filling of forms to make it easier for the user. <false/> indicates that autofill for web forms from saved contact information is disabled, which means the user needs to type in manually their contact details whenever required. |
AutoFillMiscellaneousForms |
This key determines whether autofill for miscellaneous forms is enabled or disabled.
<true/> indicates that autofill miscellaneous form is enabled, auto-filling web forms using previously entered text, such as your name, address, email, and phone number. <false/> indicates that autofill for miscellaneous forms is disabled, so users need to fill the forms manually. |
AutoFillPasswords | This key is used to configure whether autofill usernames and passwords in web forms is enabled or disabled. <true/> indicates that the configuration for password autofill is enabled, facilitating faster logins. <false/> indicates that the configuration for password autofill is disabled, necessitating the user to manually enter a password to enhance security. |
AutoOpenSafeDownloads | This key is used to enable or disable the system to automatically open files considered safe after they are downloaded.
<true/> indicates enabling the option to automatically open downloaded files considered safe by the system, automating the process for users by immediately accessing downloaded files. <false/>indicates disabling the option to automatically open downloaded files and requires users to manually open files. This adds an extra layer of safety by preventing the automatic execution of malicious files. |
BlockStoragePolicy |
The key is used to configure how Safari manages the storage of cookies and website data. It uses an integer value that specifies the access level granted for storing cookies and website data in Safari.
|
BookmarksCollections IncludeAddressBook |
This key configures whether contacts from the Address Book are integrated into Safari’s bookmarks.
<true/>indicates that the configuration integrates contacts from the Address Book into Safari’s bookmarks for easy access. <false/> indicates that the configuration excludes integrating contacts from the Address Book into Safari’s bookmarks, keeping bookmarks focused on web URLs. |
BookmarksCollections IncludeRendezvous |
This key is used to include or exclude the local network services discovered via Rendezvous (also known as Bonjour) into Safari’s bookmarks.
<true/> indicates bookmarks enable the inclusion of Bonjour-discovered services in the bookmarks, facilitating quick access to network resources like local servers or printers directly from Safari. The <false/>setting prevents including Rendezvous in bookmarks, limiting Safari to traditional web URLs such as those starting with http:// or https:// and excluding local network services from bookmarks. |
BookmarksMenuIncludes BookmarksToolbar |
This key controls whether bookmarks saved in the bookmarks toolbar are also displayed in the bookmarks menu.
<true/>indicates that bookmarks from the toolbar are included in the main bookmarks menu. <false/>indicates that bookmarks toolbar items are excluded from the main bookmarks menu. |
BookmarksMenuIncludes Rendezvous |
This key configures whether items from the bookmark’s toolbar are displayed within the bookmark menu in Safari. <true/> indicates that Bonjour bookmarks are included in the bookmarks menu. This integration facilitates quick navigation to local services without manually entering their addresses, allowing Safari to display services such as local web servers or other networks directly in the bookmarks menu for easier access. <false/> indicates that Bonjour bookmarks are not included in the bookmarks menu. As a result, Bonjour bookmarks, such as local web servers and other networks, will not be visible in the bookmarks menu. |
DefaultBrowserPromptingState2 |
This key is used to set prompts for users to set Safari as the default browser, especially under specific conditions. <integer>1 suppresses the prompt that normally appears when Safari is quit for the first time and if it is not set as the default browser. It typically prompts the user to either keep the current default browser or switch to Safari. |
DefaultBrowserPromptingState3 |
This key is used to suppress the prompt asking users to change their default browser to Safari. <integer>2 indicates that the prompt to “Make Safari your Default Browser?” is suppressed when Safari is launched and is not already set as the default browser. |
DefaultDatabaseQuota |
This key is used to configure the maximum local storage space allowed for the database. <integer>5242880 (default 5MB) value specifies the limit of local storage database. |
DidDisableIndividualExtensions AfterRemovingOnOff SwitchIfNecessary |
This key is used to manage the behavior of individual Safari extensions when their respective on/off switch is removed from the Safari extensions preferences. <true/> indicates that Safari will automatically disable any extensions that no longer have an on/off switch available in the browser settings. <false/> allows the extensions to remain active even if their on/off switches are removed or not available, giving users or administrators more flexibility in managing extensions. |
ExtensionsEnabled |
This key is used to configure extensions from the App Store to be enabled/disabled in Safari. <true/>indicates that the extensions from the App Store are enabled. <false/> indicates that the extensions from the App Store is disabled. |
HistoryAgeInDaysLimit |
This key is used to configure the maximum number of days to retain browser history. After the pre-set day ends, the history will be removed automatically. <integer>31 (Default value) indicates that the browser history will be removed after one month.
|
HomePage |
This key determines the default URL that opens in new windows or tabs in Safari. |
NewTabBehavior |
This key is used to configure the content for a new tab that is opened in Safari. These values can define various configurations:
|
NewWindowBehavior |
This key is used to set the content shown when opening a new window in Safari. These values can define various configurations:
|
SendDoNotTrackHTTPHeader |
This key enables or disables the sending of ‘Do Not Track’ requests to websites, which informs them that the user prefers not to be tracked. <true/>indicates that the sending of the ‘Do Not Track’ header is enabled. <false/> indicates that the sending of the ‘Do Not Track’ header is disabled, allowing websites to track user activity. |
TabCreationPolicy |
This key is used to determine when to open a new tab instead of a new window in a browser. This policy can help manage how content is displayed and organized to enhance the user experience by keeping related pages within a single window. <Integer/>0 (Default value) helps manage how content is displayed and organized to enhance the user experience by keeping related pages within a single window.
|
WarnAboutFraudulentWebsites |
This key is used to enable or disable warnings about potentially fraudulent or malicious websites. <true/>indicates that warnings are enabled, which helps protect users from visiting websites that could be harmful or involved in phishing or scam activities. <false/> indicates that warnings are disabled, which increases the risk of visiting and interacting with malicious websites. |
filterBlacklist |
This key is used to block access to specific websites. When used in conjunction with ‘restrictweb’ and ‘useContentFilter’ enabled, it ensures that any URLs specified in the deny list are completely inaccessible to the user. <true/>indicates that it enables the blocklist (for specific URLs which is mentioned in the denylist) as long as ‘restrictweb’ and ‘useContentFilter’ are also enabled. <false/> deactivates the blocklist, allowing access to all previously blocked sites. |
restrictWeb |
This key is used to enable or disable restrictions on web access to specific URLs. <true/> indicates that restrictions on web access for specific URLs are enabled. <false/> indicates that restriction on web access is disabled and allows unrestricted access to the websites. |
useContentFilter |
The key is used to enable or disable content filters on web access to specific URLs. <true/>indicates that content filters on web access for specific URLs are enabled, thereby blocking or allowing access to those websites. <false/>indicates that content filters on web access are disabled, allowing unrestricted access to all websites. |
What happens at the device end?
Once the configuration profile is applied to Macs, Safari will be configured according to the specified settings in the profile. This profile sets up a specific homepage, manages access to specified URLs, blocks third-party cookies and site data, sets data storage limits, and manages autofill settings. Additionally, the profile configures the behavior of new tabs and windows and controls extensions.
Also, the device will have the corresponding settings modified. For instance, after deploying the configuration profile to manage AutoFill settings in Safari on Macs, the following changes will be reflected on the device: