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 8286013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:36:26+00:00 2026-06-08T11:36:26+00:00

I am developing a Mac OS X application which will contain the user data.

  • 0

I am developing a Mac OS X application which will contain the user data. Core data/Sqlite are good option for storing the user database. But I want to make sure that the user data is highly secure. So what are the option we have in Mac platform for developing secure database..

  • 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-06-08T11:36:27+00:00Added an answer on June 8, 2026 at 11:36 am

    You have several options you can use with Core Data. But none of these methods will protect your data when the software is running and the decryption key is “live”.

    The first option is to use an encrypted disk image to store your database file. This is not necessary on iOS, all the files are encrypted by default, but you can configure some of the encryption aspects for tighter security setups (googling NSFileProtectionKey). On OS X, the equivalent technology is FileVault, but it will not be active most of the time, so you shouldn’t count on it. So yes, a disk image, mounted when your software is launched and the correct password supplied, unmounted when the software quits. You may want to protect your disk image against an app crash using a helper process watching the main application and unmounting the image if the app crash or quits without unmounting it properly.

    The second option is to write a NSValueTransformer to encrypt every sensitive attributes in your entities. The protection is at the attribute level here. It may be good enough, or not, and it impacts how the fetch requests work.

    The third option is to write your own persistent store (by subclassing NSAtomicStore). This is not without consequences tho, that solution must be evaluated carefully.

    Besides that, do not forget the basis of course: keychain, key-stretching function like PBKDF2, password salt, stuff like that.

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

Sidebar

Related Questions

I'm developing from Mac OS X a java application that uses a SQLite database
I'm developing a Qt application on Mac OS X (Snow Leopard), which displays the
I am developing a Mac OS X application which, as part of it's UI,
in the Mac application I am currently developing the users will need to be
I'm developing a Mac Application in which i need to implement IPC Mechanism. The
In my mac application I'm currently developing, I have an iKImageBrowserView which displays something
I'm developing a lyric application for Mac and I want to add Spotify support
I am developing a Web application in Pylons on the Mac. My development server
Anyone know application like network location(mac) for linux,windows.If not i am thinking of developing
I'm developing a desktop Mac OS X App that saves its very simple data

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.