News for hackers. Stuff that matters.
Re:Parental Control for iOS (my weekend project) by bruceboughton on Tuesday October 16, 2012 @11:20AM (#4660185)
How does this work? Is there a public API for these settings or does it require jailbreaking/sideloading?
Re:Parental Control for iOS (my weekend project) by 0m1cr0n on Tuesday October 16, 2012 @12:53PM (#4660684)
The site generates a .mobileconfig file, which is an Apple plist file in XML format. The API is public, and easily reverse-engineered from other .mobileconfig files.

The "app" that gets installed is actually a webclip, not a native iOS application. They embedded the icon as a base64 string inside the .mobileconfig.

The webclip opens mobile Safari in fullscreen, with a link in the format of "http://mocava.de/ios/parental-control/profiles/UNIQUE_ID/par..., where UNIQUE_ID ties back to the choices you made on the setup screen of their website. This will allow Mocava to track usage stats, which seems like a fair trade-off for a free service.

You could roll your own version of this using Apple's Configurator application, however Mocava has done a decent job of streamlining the setup and installation.

Re:Parental Control for iOS (my weekend project) by vpdn on Tuesday October 16, 2012 @01:01PM (#4660729)
"Mocava has done a decent job of streamlining the setup and installation."

Thanks :) Usability wise, the hardest part was to explain that you have to install a profile to deactivate an existing profile. Also people associated the word "profile" with a facebook profile and thought it contains their personal data like name & address. To prevent confusion, the page I removed (almost) all instances of the word profile from the page.

Re:Parental Control for iOS (my weekend project) by 0m1cr0n on Tuesday October 16, 2012 @01:59PM (#4661026)
The whole "profile" and "mobileconfig" nomenclature is confusing to most people, I'm a little surprised that Apple hasn't put more effort into this area.

Sorry if I came across as damning you with faint praise, you really have done a nice job of setting up the service for non-technically minded people who want to keep their kids safe online.

I can't find any reference to your privacy policy or terms of service. You appear to use a unique string to identify profiles, what are you doing with the data you collect?

Re:Parental Control for iOS (my weekend project) by vpdn on Tuesday October 16, 2012 @02:23PM (#4661144)
The unique identifier was really just the technically simplest way to do it. I might eventually deduplicate the data and aggregate profiles with identical settings into a "canonical profile" if I can find the time.
Re:Parental Control for iOS (my weekend project) by bruceboughton on Tuesday October 16, 2012 @12:55PM (#4660694)
Thanks for the explanation. I'd forgotten about mobileconfig.
Re:Parental Control for iOS (my weekend project) by rada on Tuesday October 16, 2012 @12:33PM (#4660588)
Just loaded it on my office iPad, no jailbreak. I believe it loads a standard iOS configuration profile via a home screen link.
Re:Parental Control for iOS (my weekend project) by vpdn on Tuesday October 16, 2012 @12:55PM (#4660692)
rada got it right, that's exactly how it works. It installs a configuration profile with restrictions on when you want to lock the device and a configuration profile without restrictions (an empty restrictions set) when you want to unlock the device.