Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3790904
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T12:23:13+00:00 2026-05-19T12:23:13+00:00

My client asked me if it is possible to encrypt his iOS SQLite file.

  • 0

My client asked me if it is possible to encrypt his iOS SQLite file.
I checked this two resources:

Encrypt & Decrypt Sqlite file (Using Core Data)
http://support.apple.com/kb/HT4175

Please correct me if I’m wrong, the file will be encrypted so no one will be able to crack into it (although it will be possible for a determined cracker I think).

Core Data queries will run as usual right? I mean there is no performance penalty neither a different API.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T12:23:14+00:00Added an answer on May 19, 2026 at 12:23 pm

    The links you provided talk about encrypting storage across the whole device; However if the goal is that the user not be able to open the database file directly then will not help you, as the only thing that protects against is your data being accessed in the event the device is stolen. It also relies on the user to set it up, the app cannot mandate that the device storage is encrypted.

    Basically, what is the motivation behind wanting the storage encrypted?

    EDIT:

    Based on the response chain, I think using the encrypted variant of SQLLite at:

    http://sqlcipher.net/

    is a good solution. This encrypts database contents before they hit storage, which is great. An attacker still might be able to find the key used in your code to decrypt the database, but any layer of defense you can add will help. I don’t think you could use that with CoreData (as it is built atop the built-in sqllite libraries) but you could probably use it with a wrapper like FMDB:

    https://github.com/ccgus/fmdb

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are making a lab instrument using an ARM9/RTOS system. The client has asked
A potential client of mine has asked whether it is possible to have a
My client asked me (a JavaScript client-side programmer) to change the order of the
The client has asked for a number of tables to be extracted into csv's,
Having sorted out an issue with clickonce deployment the client has asked whether we
A client of mine has asked me to integrate a 3rd party API into
We've been asked by a client to give us a time estimate on each
Background I have been asked by a client to create a picture of the
I was asked to manage and develop a project. The client does not really
We built a grant application system for a client. They've now asked for some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.