如何限制Mac上的Chrome扩展程序安装

时间:2018-06-05 17:20:21

标签: macos google-chrome google-chrome-extension applescript google-chrome-app

我试图删除用户在Mac OS上安装Chrome扩展程序的功能。我找到了ExtensionInstallBlacklist策略,但无法弄清楚如何让它开始工作。有什么提示吗?

有没有人知道如何禁用登录Chrome /更改配置文件/用户的功能?

提前致谢!

贾里德

2 个答案:

答案 0 :(得分:0)

按照Set app and extension policies for Mac指南。

  

更新配置政策

     

您可以设置ExtensionSettings策略   在使用configuration profiles的Mac计算机上。   在设备上安装配置文件时,设置   适用。为。设置特定的应用和扩展政策   个人资料,请参阅自定义应用和扩展政策。

     

使用示例安装代码查看完整指南。

答案 1 :(得分:0)

对于我在Ubuntu上的{@ 3}}

,这是比Google文档更好的示例
Mac
The policies for the extension can be configured via MCX preferences for the com.google.Chrome.extensions.gihmafigllmhbppdfjnfecimiohcljba bundle, or for the org.chromium.Chromium.extensions.gihmafigllmhbppdfjnfecimiohcljba bundle if using Chromium. This can be done by creating a plist file with the configuration and importing it using dscl:

<?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>com.google.Chrome.extensions.gihmafigllmhbppdfjnfecimiohcljba</key>
  <dict>
    <key>Bookmarks Bar</key>
    <dict>
      <key>state</key>
      <string>always</string>
      <key>value</key>
      <array>
        <dict>
          <key>title</key>
          <string>Chromium</string>
          <key>url</key>
          <string>chromium.org</string>
        </dict>
        <dict>
          <key>title</key>
          <string>Videos</string>
          <key>children</key>
          <array>
            <dict>
              <key>title</key>
              <string>YouTube</string>
              <key>url</key>
              <string>youtube.com</string>
            </dict>
          </array>
        </dict>
      </array>
    </dict>
  </dict>
</dict>
</plist>

https://www.chromium.org/administrators/configuring-policy-for-extensions
https://chromium.googlesource.com/chromium/src/+/master/components/policy/resources/policy_templates.json
https://www.chromium.org/administrators/policy-list-3/extension-settings-full