Jules
Jules

Reputation: 7766

Allowed file security for iOS data files, encoding?

I want to provide some protection for my data files. The files will be exported by my app to the cloud. I don't want users to mess around and break the data files.

However, the app store rules don't allow to use encryption.

I'm thinking some sort of encoding.

Can anyone suggest what I might use that would be allowed ?

I've tried using zip files, but the libraries are big and / or out of date and aren't optimized for iOS.

Upvotes: 2

Views: 1103

Answers (2)

David Dunham
David Dunham

Reputation: 8329

You can't use the built-in data protection with iCloud files.

Encryption may need an export license, depending on what you do. (Enabling HTTPS requires it, for example.)

I don't recall zlib being all that big, and I'm sure we included it in an iOS game (since we used libpng).

If you want users to not break things, why not use a checksum?

Upvotes: 2

Jim
Jim

Reputation: 73936

The App Store rules don't forbid encryption, you need to get the appropriate government permissions and provide these details when you submit your application.

Once you have done this, you should read Protecting Data Using On-Disk Encryption.

Upvotes: 3

Related Questions