If I put this information in a plist file, can I access an iPhone with a jailbroken iPhone?
Yes it is possible. Since the jailbroken phone has a fully open file system and a working root user account, users can do just about anything with your application: capture their secret data, hack them, reconstruct, modify using MobileSubstrate, etc. Etc. ( Donβt dare to pop up the warning βI am not running on jailbroken devices!β!)
If so, where should I safely store it?
In short: you cannot.
Here is this keychain thingy , which should be safe, but it is not protected at all on hacked devices. The full contents of the keychain can be easily reset using this simple tool .
user529758
source share