Hi Guys,
An App of mine has a database in it's documents directory containing
information that is both read and written to by the program.
If someone jailbreaks their iPhone, and accesses the filesystem, the data
file could be changed by the end user, and in this case, it could make the
app offer different functionality than is intended.
So...
Is is acceptable to xor every byte in the data file against a table of random bytes,
thereby messing it up without calling that encryption?
The only other solution I can think of is checksumming the file, and requiring
a particular checksum value being correct any time the file is changed by
the App as well as an end user fiddling from the outside.
Any thoughts?
An App of mine has a database in it's documents directory containing
information that is both read and written to by the program.
If someone jailbreaks their iPhone, and accesses the filesystem, the data
file could be changed by the end user, and in this case, it could make the
app offer different functionality than is intended.
So...
Is is acceptable to xor every byte in the data file against a table of random bytes,
thereby messing it up without calling that encryption?
The only other solution I can think of is checksumming the file, and requiring
a particular checksum value being correct any time the file is changed by
the App as well as an end user fiddling from the outside.
Any thoughts?
Last edited: