如何使用組態設定檔為 macOS 設定 Dropbox 功能

已更新 Nov 08, 2023

如果您是與使用 macOS 搭配 Dropbox 的大型工作團隊共事,可以在組態設定檔中新增某些承載資料來自動啟用 Dropbox 功能,例如僅供線上存取的檔案Dropbox 協作圖示等。

本文列出了各項承載資料,以及對應啟用的 Dropbox 功能。

讓 macOS 12.3 以上版本完整支援僅供線上存取檔案的承載資料

  • 承載資料核心延伸功能規則 (com.apple.syspolicy.kernel-extension-policy)
  • 適用:macOS 10.14 以上版本

這項承載資料可讓 Dropbox Sync Engine 建立僅供線上存取的檔案。此類檔案必須要有核心延伸功能 (kext) 元件才能正常運作。

如要簡化這個元件的安裝作業,您可以透過這個連結部署內含 Dropbox 核心延伸功能的 macOS 安裝程式套件。在某些情況下,終端使用者可能要重新啟動裝置才能安裝這個元件。

進一步瞭解如何在 macOS Big Sur 中安裝核心延伸功能 (kext)

<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>

這篇文章對您有幫助嗎?

很遺憾聽到這個消息。
若有什麼可以改善的地方,敬請不吝分享。

感謝您的意見。
歡迎分享這篇文章在哪方面對您有幫助。

感謝您的意見。

Відповіді спільноти

其他取得協助的方式