OS X Server: Managing Safari plug-in options using a configuration profile
In Safari 6.1.2 and 7.0.2, Safari plug-in options can be managed using the configuration profiles feature of OS X Server.
Use Profile Manager in OS X Server to create a Custom Settings payload. Type in the preference domain name "com.apple.Safari", and add a ManagedPlugInPolicies key as described below.
Key | Type | Content |
---|---|---|
| Dictionary | Information for each managed plug-in is stored in this dictionary. The key is the plug-in's bundle identifier and the value is a dictionary with plug-in info, described below. Common plug-in bundle identifiers include:
|
Plug-In dictionary
Each plug-in information dictionary can contain the following keys:
Key | Type | Value |
---|---|---|
| String | Optional. Determines plug-in policy for the first visit to websites that uses this plug-in. Based on this policy, Safari will allow the plug-in to run, block the plug-in from running, or ask the user if the plug-in should be allowed to run. The following values are accepted:
|
| Boolean | Optional. If present and set to |
| Boolean | Optional. If present and set to |
| Array of Dictionaries | Optional. This array stores settings for individual websites. The dictionary format for each website is described below. |
Website dictionary
Each website dictionary can contain the following keys:
Key | Type | Value |
---|---|---|
| String | The hostname of the website. |
| String | Determines plugin policy used when visiting this website. Allowed values are the same as the |
| Boolean | Optional. If present and set to |
Learn more
For a sample of the Safari plug-in settings, you can look at the source of this sample configuration profile.