tags:

views:

25

answers:

2

I would find useful, in some cases, and under the user's permission, to block the device so only the running application can be accessed unless the usrer's password (pattern or whatever is used to unlock the session) is introduced.

I guess the mecanism should be something like: The application asks the os to do this, the OS asks the user for permission and then the application asks the device to block the application on "exit" or standby (or both).

This would be useful for using an iPhone or iPad as a device for public use. One example could be a Library where visitors can see the book list and some previews in the device. In this case, you don't want the user to access any other resource/application in the system.

Does it make sense?

A: 

It makes sense, but I don't think you can do that without jailbreaking the phone. In iOS, the home button cannot be overridden by applications. Besides there is cheaper hardware out there for kiosk-style applications.

Marcelo Cantos
+1  A: 

What your asking is there any type of kiosk mode for iOS devices.

The short answer in no. The longer answer is if you're using a Jail broken device you might be able to relaunch the app on exit, but it would take significant R&D.

I hade a client ask about this last week, after some investigation and thinking I told her,

It's best to look for a case that blocks the home button. Or some kind of security bracket. It'll be cheaper and easier.

Also any App you create with this functionality would be rejected form the App store.

If your looking for advice on programming Jail broken devices there is a Stack Exchange proposal you can follow.

rjstelling
Thanks for the term. I didn't know it. Now it is clear to me that this is impossible with not jail-broken devices. I just hoped iOS supported it, I understand this can have security issues but I expected they might have thought explicit authorization from the user would be enough.
martin