Document Library for iPhone Documents / Cache

I developed one iOS application. For security reasons, I uploaded all the audio / video files to the Documents folder in the Library / Caches section .

To use iTunes, the end user cannot use this video backup. But some external programs easily open the Library / Cache> and download all the files from these folders.

My question is how to protect this Library / Cache folder or How to explicitly not store files in the document directory.

+4
source share
3 answers

. NSDATA DRM ( )

:

  • NSData NSData, . - , , .

:

: ABCDEF

( /): A% GB * CDE) F

. , , .

  • , .

    :

    ( /): A% GB * CDE) F

    :% G *)

    : ABCDEF

: . .

,

+2

CoreData , , "Transformable" / . http://www.artandlogic.com/blog/2012/07/securing-your-core-data-with-transformable-attributes/ . , CD- , ( - , , ). , .

, , . , https- , "".

: , - C, .

+1

NSData writeToFile: options: error: NSDataWritingFileProtectionComplete, . - AES .

+1

Source: https://habr.com/ru/post/1542649/


All Articles