Re: Encryption: Simplest method to encrypt a SQLite DB file...? {iPhone}
Re: Encryption: Simplest method to encrypt a SQLite DB file...? {iPhone}
- Subject: Re: Encryption: Simplest method to encrypt a SQLite DB file...? {iPhone}
- From: Michael Ash <email@hidden>
- Date: Fri, 23 Jan 2009 21:14:34 -0500
On Fri, Jan 23, 2009 at 11:41 AM, <email@hidden> wrote:
> Environment: iPhone
>
> I'm particularly concerned with 'data viewing'.
> Think of the data as answers to a quiz. I worry that some
> hacker could copy & distribute the data (rules) on the internet, and in essence,
> cheat the game.
>
> Being that "... iPhone is far more restrictive towards tampering...",
> Is it still possible to grab the SQLite DB file from the bundle to view its (uncoded) data?
> If not, then there's no need to encrypt the SQLite DB file within the App Bundle.
To restate what I said in my earlier post: what you want cannot be
done. Your application has encoded within it everything a hacker needs
to know to decode your data. A smart hacker won't even try to decrypt
the data. He'll just run your app in a debugger, let it decrypt the
data itself, and then read it out of memory. Piece of cake.
And yes, this applies to the iPhone just as much as it does anywhere
else, as long as the hacker has jailbroken it first.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden