Hacker News new | ask | show | jobs
by conradev 5281 days ago
I was going to write a tweak for iOS to do something like this, with behavior similar to that of the built in Camera shortcut from the lockscreen.

1. You are using an app

2. You activate 'Guest mode' using a button press, swipe, tap, etc. (configurable)

3. If the user hits the home button, it redirects to the lockscreen instead of the homescreen (much like the Camera application does in lock-mode)

4. Instead of the camera icon on the lockscreen when you double tap, it is the icon of the locked-in application. (You can tap it to resume use of the locked-in application)

5. To disable this guest mode, you simply unlock the device with your passcode.

So, when a friend asks "Hey can I check my email?", you can open Safari, enable this guest mode, and hand the phone to him, no worries.

What do you think?

1 comments

> So, when a friend asks "Hey can I check my email?", you can open Safari, enable this guest mode, and hand the phone to him, no worries.

can you provide a sandboxed environment? he can't have access to any of my persistent Safari data (autofill/bookmarks/history/cookies/dbs/etc.), and any he creates should be wiped, probably on return to the lockscreen. all other forms of app switching (e.g. open a pdf url, then "open in" iBooks/goodReader/whatever) will need to be blocked as well. will also have to block the app tray, the notification center, pop-up/banner notifications, Siri, and possibly the phone. (could experiment with blocking badges and alerts but not sounds, since that only reveals the fact that an email/text/etc. was received, not any specific information about it.) might conceivably need to block all background app network traffic, tho i'm not sure if that's snoopable from inside safari.

basically os x guest mode

That would be the only issue with something like this. The number of system features is finite and they can be disabled each in their own respect, but partitioning a guest from a user's data in an arbitrary application would prove challenging.
yeah, by the time i got to the end of the list, it was pretty clear how hard it would be to do it right....