如何使用配置概要文件为 Dropbox 配置 macOS

已更新 Nov 08, 2023

如果您与使用 macOS 和 Dropbox 的大型团队合作,您可能需要将某些有效负载添加到配置概要文件以自动启用 Dropbox 功能,例如仅限在线访问的文件Dropbox 标记

本文列出了各种不同的有效负载以及其启用的 Dropbox 功能。

在 macOS 12.3 及更高版本上全面支持仅限在线访问的文件的有效负载

  • 有效负载内核扩展策略 (com.apple.syspolicy.kernel-extension-policy)
  • 适用于:macOS 10.14 或更高版本

此有效负载支持 Dropbox 同步引擎创建仅限在线访问的文件。此类文件依靠内核扩展 (kext) 组件才能正常运行。

为了简化此组件的安装,您可以在此处部署包含 Dropbox 内核扩展的 macOS 安装程序包。在某些情况下,最终用户可能需要重新启动其设备才能安装此组件。

详细了解在 macOS Big Sur 中安装内核扩展 (kexts)

<key>AllowedKernelExtensions</key>

 

<dict>

 

    <key>G7HH3F8CAK</key>

 

    <array>

 

        <string>com.getdropbox.dropbox.kext</string>

 

    </array>

 

</dict>

<key>AllowedTeamIdentifiers</key>

 

<array>

 

    <string>G7HH3F8CAK</string>

 

</array>

Dropbox 标记与查看者信息的有效负载

此有效负载启用 Dropbox 标记查看者信息功能。

<key>Services</key>

<dict>

  <key>Accessibility</key>

<array>

      <dict>

          <key>Allowed</key>

          <true/>

          <key>CodeRequirement</key>

          <string>identifier “com.getdropbox.dropbox” and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = G7HH3F8CAK</string>

          <key>Comment</key>

          <string>Allow Dropbox to use the Accessibility API to record the current user's presence or display the Dropbox Badge for the files it manages.</string>

          <key>Identifier</key>

          <string>com.getdropbox.dropbox</string>

          <key>IdentifierType</key>

          <string>bundleID</string>

      </dict>

</array>

</dict>

已删除的警告和错误消息的有效负载

此有效负载支持 Dropbox 警告和消息,以防止意外删除。启用此功能后,当用户对涉及废纸篓的文件执行操作(例如删除与他人共享的文件)时,Dropbox 桌面应用可以提供更准确的错误或消息。

此访问权限是在 macOS 10.15 或更高版本上启用此功能的唯一方法。

<key>Services</key>

<dict>

  <key>SystemPolicyAllFiles</key>

<array>

      <dict>

          <key>Allowed</key>

          <true/>

          <key>CodeRequirement</key>

          <string>identifier “com.getdropbox.dropbox” and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = G7HH3F8CAK</string>

          <key>Comment</key>

          <string>Allow Dropbox to access the Trash to recover from accidental deletions.</string>

          <key>Identifier</key>

          <string>com.getdropbox.dropbox</string>

          <key>IdentifierType</key>

          <string>bundleID</string>

      </dict>

</array>

</dict>

这篇文章有用吗?

很抱歉没帮上您。
请告诉我们如何改进。

谢谢您的意见!
请告诉我们这篇文章对您的帮助有多大。

谢谢您的意见!

获取帮助的其他方式