iOS MDM指令

MDM能够做些什么?

配置

账户配置(wifi、vpn、email等)

密码策略(密码复杂度等配置)

安全与隐私(是否允许发送诊断数据到Apple等)

设备功能限制(是否允许摄像头,是否允许siri)

应用限制(是否允许用iTunesstore,Safari等)

云(是否允许云备份、照片流等)

内容分级

信息查询

基本信息(UDID、设备名、imei等)

网络信息(iccid、蓝牙和wifi的mac、手机号等)

合规性和安全性(安装的profile、是否有密码保护等)

应用(已安装应用id、已安装应用名称等)

管理

管理配置(安装和删除一个profile)

管理Apps(安装和删除一个in-houseApp)

擦除设备、清除密码、锁屏

通过MDM能实现以下操作:


安装和删除一个描述文件

安装和删除一个配置文件

获取已安装的描述文件列表

获取已安装的配置文件列表

获取已安装的证书列表

获取已安装的第三方的应用列表

应用的安装与删除

获取设备信息(UDID、Languages、DeviceID、BatteryLevel等)

获取安全相关的信息

设备锁屏、重启、关机、清除密码、数据擦除

获取已启用的约束列表

锁住、定位已丢失的设备

设备相关的设置管理、设备名称、壁纸、移动网络等

设置已安装的应用属性

获得可更新的系统的信息

安装一个文件或书籍


一、Control Commands(控制类命令)

1、Device Lock(设备锁屏)

RequestType为DeviceLock

原文:Immediately locks the device. If a passcode is present, that passcode will be required to unlock the device.

译文:设备锁屏后,如果你的设备以前设置了锁屏密码,那么你的设备就会要求输入你以前的锁屏密码来解除屏幕锁。

2、Erase Device(擦出设备数据)

RequestType为EraseDevice

原文:Immediately wipes the device memory and resets it to a “clean from factory” state.Requires connection to iTunes to restore from backup or configure as new.

译文:擦拭设备的内存数据和重置为“恢复出厂”的状态,需要连接到iTunes备份或恢复配置新的。

3、Clear Passcode(清除锁屏密码)

RequestType为ClearPasscode,另外需要TokenUpdate时返回的UnlockToken数据

原文:If a passcode is present on the device, this command will clear that passcode. If a passcode is required by other configuration controls, the user will be given a grace period in which to set a new passcode.

译文:如果设备以前设置了锁屏密码,当发送此命令时会清除设备设置的密码。如果密码被其他配置控制需要,用户将可以在宽限期内设置一个新密码。

二、Device Queries(查询设备信息类)

1、Security Information(安全信息)

RequestType为SecurityInfo,另外需要查询的数组列表,例如:“HardwareEncryptionCaps”, “PasscodePresent”等

原文:Lists specified security-related settings for the device, including hardware encryption capabilities, and whether a passcode is present (and if so, whether it is compliant with configuration). If the passcode is present, the device must be unlocked for this command to execute.

译文:列出指定的安全相关的设置装置,包括硬件加密功能,以及是否存在一个密码(如果是这样,是否符合配置)。如果密码是目前,装置必须解锁执行这个命令。

2、Installed Application List(应用程序列表)

RequestType为InstalledApplicationList

原文:Lists all the applications currently installed on the device. Includes the overall persistent storage used by the application, expressed in bytes, along with the application’s name, version, and bundle identifier. Does not list applications installed via jailbreaking methods.

译文:所有的应用程序目前安装在设备列表。包括应用程序所使用的总体持久性存储,表示字节,随着应用程序的名称,版本,和束标识符。没有列出应用程序安装通过破解方法。

3、Device Information(设备信息)

RequestType为DeviceInformation

原文:Retrieves specified general information about the device, including MAC phone number, software version, model name and number, serial number.

译文:检索指定的一般信息的装置,包括MAC的电话号码,软件版本,模型的名称和编号,编号。

4、Certificate list(证书列表)

RequestType为CertificateList

原文:Lists all certificates currently installed on the device.

译文:列出所有目前在设备上安装证书。

5、Profile List(描述文件列表)

RequestType为ProfileList

原文:Lists configuration profiles installed on the device. Includes Common name, whether a remove passcode is required, whether removal is disallowed, unique identifiers, and other similar information.

译文:安装在设备配置文件列表。包括普通的名字,是否删除密码是必需的,是否去除无效,唯一的标识符,和其他类似的信息。

6、Provisioning Profile List(预装的描述文件列表)

Provisioning为ProvisioningProfileList

原文:Lists provisioning profiles installed on the device (similar to the Profile list).

译文:安装在设备列表配置配置文件(类似于配置文件列表)。

7、Restrictions List(限制列表)

RequestType为RestrictionsList

原文:Lists restrictions currently in effect on the device. For example, lists disabled applications,whether backup encryption is forced on, etc.

译文:列出目前在设备上的限制的影响。例如,列表禁用应用程序,无论是备份加密是被迫的,等等。

三、Device Configuration(设备配置)

1、Install Profile(安装描述文件)

RequestType为InstallProfile,另外需要Payload((data) IPCU .mobileconfig file, base-64 encoded)

原文:Given a base-64 encoding of a .mobileconfigprofile (as created by the IPCU or other tools), installs the profile on the device.

译文:给定一个base64编码的.mobileconfig描述文件(由IPCU或其他工具创建),安装在装置的配置。

2、Remove Profile(卸载配置文件)

RequestType为RemoveProfile

原文:Given a payload identifier (which is typically shown as a reverse-DNS identifier such as “com.example.cfg.restrictions”), removes the profile from the device.

译文:给定一个载荷标识符(通常是作为一个反向DNS的标识符,如“com.example.cfg.restrictions”),删除从设备的配置文件。

3、Install Provisioning Profile(安装预装描述配置文件)

RequestType为InstallProvisioningProfile,另外需要Payload((data) IPCU .mobileprovision file, base-64 encoded)

原文:Given a base-64 encoding of a .mobileprovisionprofile (as created by the IPCU or other tools), installs the profile on the device.

译文:给定一个base64编码的.mobileprovision文件(由IPCU或其他工具创建),安装在装置的配置。

4、Remove Provisioning Profile(卸载预先安装的描述配置文件)

RequestType为RemoveProvisioningProfile,另外还需要UUID((string) Provisioning profile UUID)

原文:This command removes the provisioning profile from the device, given the profile’s UUID.

译文:该命令会删除配置文件从设备,给出了配置文件的UUID。

四、Device to Server Commands(发送给服务器的命令)

1、Authenticate(设备认证)

MessageType为Authenticate,会返回Topic和UDID

原文:This is a client command, sent by the client to initiate enrollment. Can be used by the server to permit or deny enrollment based on the device’s UDID. NOTE – Does not follow same format as server-to-client commands. Has no CommandUUIDfield nor the Commanddict structure — all parameters are top-level items in the main property list dict.

译文:这是一个客户端的命令,由客户端发送登记。可以使用的服务器以允许或拒绝基于设备的UDID登记。注意:不遵循相同的格式为服务器到客户端的命令。没有CommandUUID也不Command结构——所有的参数都在主属性列表指定顶级项目.

2、Token Update(Token信息更新)

MessageType为TokenUpdate,会返回PushMagic、Token、Topic、UDID、UnlockToken等数据。

原文:This is a client message, sent by the client during enrollment. Provides the server with tokens used to contact device via APNS, as well as a key to unlock the device through the Clear Passcode command. NOTE – Does not follow same format as server-to-client commands. Has no CommandUUID field nor the Command dict structure — all parameters are top-level items in the main property list dict。

译文:这是一个客户端的消息,在登记过程中由客户端发送。提供服务器标记用于通过APNS接触装置,以及解锁装置通过一个关键清除密码命令。注意:不遵循相同的格式为服务器到客户端命令。没有CommandUUID也不Command结构——所有参数在主要的属性列表的顶级项目。

总结,到目前为止,我们已经介绍了MDM的四大类,总计16个小类的控制类命令信息

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Android 自定义View的各种姿势1 Activity的显示之ViewRootImpl详解 Activity...
    passiontim阅读 175,098评论 25 709
  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 135,323评论 19 139
  • Ubuntu的发音 Ubuntu,源于非洲祖鲁人和科萨人的语言,发作 oo-boon-too 的音。了解发音是有意...
    萤火虫de梦阅读 99,761评论 9 468
  • 今天,与闺蜜一家,为追赶五一的小尾巴,开车1个多小时到桃花岛闲逛。4个大人,3个小孩,其中2个需要手提的,只能是闲...
    锵锵滚阅读 864评论 1 0
  • 我之前看的是英文版的碟,昨天看的是国家话剧院排演的中文版。 先说戏 一直到看完,这个戏最能打动我的情感是什么? 就...
    操评阅读 4,432评论 0 1