0

Hi i am newbie to iphone application development. I am writing an iphone application where i want to store and read some secure data (such as passwords) which is application specific. I want this data to be secured that no user can access the file. It must be application specific. Once the application is uninstalled, data must be deleted. I can do the same in android using openFileInput and openFileOutput.But how this can be done in iphone environment? What is the filepath location to access the file? Thanx in advance.

gReEn HoRn
  • 274
  • 1
  • 4
  • 19
  • Duplicate [Saving private data securely on device when user exits application](http://stackoverflow.com/questions/6916314/saving-private-data-securely-on-device-when-user-exits-application) – rohan-patel Jan 22 '13 at 10:08
  • @rohan-patel. I googled and found that there are some ways such as storing in documents folder and storing in sqlite,coredata. My questing is that storing in documents folder is application specific. Cant other user access documents folder by connecting iphone to the mac system? I want the storage which could be accessed only by application not user. – gReEn HoRn Jan 22 '13 at 10:11

1 Answers1

1

You may want to add those data (or say data written on file) to DocumentDirectory

Following is the link you can use for the reference:

How to save file in the documents folder?

Hope This Helps.

Community
  • 1
  • 1
viral
  • 4,168
  • 5
  • 43
  • 68