security - Ensuring an iOS 4 app only runs if device meets certain password criteria -


our (internally distributed) ios app relies on ios 4.2's encryption secure sensitive data.

however, works satisfactory if user using system-wide password.

i understand can enforced installing configuration profile on ios devices configuring rules password.

since installation of profile optional our users, how can make sure our app works if profile installed, or alternatively, if password regulations met?

(we not concerned jailbreaks , related cracks our software, ability test config profile or other criteria inside our own code sufficient.)

what can do, create (self-signed) ssl certificate , add signing authority configuration profile. then, within app can attempt verify certificate. verification work if trust signing authority, happens if have configuration profile has been installed.

you can read more process here if wish: http://blog.slaunchaman.com/2011/12/01/enforcing-ios-security-settings-in-third-party-applications/

note: may not acceptable submission app store.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -