问题
I am little confused about the MDM, wish that someone could help me here. I have studied the docs from the Apple website regarding the iOS MDM,but still I feel puzzled ,I have some questions.
- Whether MDM server is communicating APNS every-time when it needs to execute command ?
- Is it very complex to setup our own MDM server and how to setup our own MDM server ?
Thank you in advance.
回答1:
1) the general idea is that you send one request via APNS and then respond with a command when the device 'phones home' to your MDM server. Once the device responds to your command, you can send another command back in response and so on until the device has executed all the commands at which point your server should respond with an empty HTTP response.
2) That entirely depends on what your definition of complex is! I have created 2 MDM 'servers' in the past year and it's not impossible but quite complex to detail.
回答2:
MDM server communicates only when it needs to send a command to the device. Here is how it goes,
- MDM server contacts APNS server with MDM payload.
- APNS server triggers a wake up on device to check server for MDM command.
- Mobile device contacts the MDM server for command to be executed.
Implementing MDM is simple if you have a enterprise account.
Get your MDM certificate. http://www.blueboxmoon.com/wordpress/?p=877
Using IPCU create a profile and push it on mobile.
- With this the device push magic will be passed to the checkin URL you specified in the config profile.
- Then trigger the mdm payload using JAVAPNS with push magic and token. JavaPNS - https://code.google.com/p/javapns/
- Create a simple page that will respond to device command. Refer Blackhat guide for full documentation. https://media.blackhat.com/bh-us-11/Schuetz/BH_US_11_Schuetz_InsideAppleMDM_WP.pdf or this http://darthnull.org/media/papers/MDM_CommandReference.pdf for commands reference.
来源:https://stackoverflow.com/questions/8744023/ios-mobile-device-management