参考link: https://www.youtube.com/watch?v=NOVZpp2kNUA
支持禁用字段:name/cdhash/path/bundleId
1 <dict> 2 <key>Restrictions</key> 3 <array> 4 <dict> 5 <key>Attributes</key> 6 <dict> 7 <key>name</key> 8 <array> 9 <string>Anaconda-Navigator</string> 10 </array> 11 <key>cdhash</key> 12 <array> 13 <string>da23241sda4214231jjh34hedeqwe</string> 14 </array> 15 <key>path</key> 16 <array> 17 <string>/usr/sdbin/diskutil/string> 18 </array> 19 <key>bundleId</key> 20 <array> 21 <string>com.anaconda.io</string> 22 </array> 23 </dict> 24 <key>Actions</key> 25 <array> 26 <integer>1</integer> 27 </array> 28 <key>Message</key> 29 <string>此软件未采购,禁止使用。如需使用请联系Corp IT。</string> 30 </dict> 31 </array> 32 <key>PayloadDisplayName</key> 33 <string>Restricted Software Policy</string> 34 <key>PayloadIdentifier</key> 35 <string>HubSettings.93f1655a-59fb-42dc-bc31-9571275cb12b</string> 36 <key>PayloadOrganization</key> 37 <string>VMware</string> 38 <key>PayloadType</key> 39 <string>com.vmware.hub.mac.restrictions</string> 40 <key>PayloadUUID</key> 41 <string>1D7F0D17-369B-4766-9CA0-D2B4537657C1</string> 42 <key>PayloadVersion</key> 43 <integer>1</integer> 44 </dict>
标签:XML,OS,name,space,禁用,app,path,com From: https://www.cnblogs.com/donglirx/p/17799942.html