Enabling a Safari plugin via Policy?

nadams
New Contributor III

I'm trying to enable a specific plugin in Safari (flash player), but I'm assuming I would need to do so with a command of some sort. I can't find any command line options detailed for Safari that would let me do this. Anyone know how this can be accomplished on a large scale?

2 REPLIES 2

bentoms
Release Candidate Programs Tester

@nadams (This?)[https://support.apple.com/en-nz/HT202947]

nadams
New Contributor III

@bentoms Thanks for that... your Google-fu is better than mine! Now the only problem is I don't understand the example config. I get where it's setting the preferences that it wants, but then I don't understand all the other stuff that happens at the end of the file. Pretty much all of this is greek to me, and not explained on that page:

<key>PayloadDisplayName</key>
<string>Custom: (com.apple.Safari)</string>
<key>PayloadEnabled</key>
<true/>
<key>PayloadIdentifier</key>
<string>
com.apple.mdm.server.example.com.e7625600-2004-0131-8304-10ddb19948d1.alacarte.customsettings.0fdd9ce0-2006-0131-8307-10ddb19948d1
</string>
<key>PayloadType</key>
<string>com.apple.ManagedClient.preferences</string>
<key>PayloadUUID</key>
<string>0fdd9ce0-2006-0131-8307-10ddb19948d1</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDescription</key>
<string>Test managed plugins in Safari 6.1.2 and 7.0.2</string>
<key>PayloadDisplayName</key>
<string>Safari Plugin Management Example</string>
<key>PayloadIdentifier</key>
<string>
com.apple.mdm.server.example.com.e7625600-2004-0131-8304-10ddb19948d1.alacarte
</string>
<key>PayloadOrganization</key>
<string>Example Organization</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadScope</key>
<string>System</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>e7625600-2004-0131-8304-10ddb19948d1</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>