title: Implementing and Testing iOS data protection
body: <p>Just saw the Session 209 - Securing Application Data from de 2010 WWDC.</p>
  
  <p>The keynote explains a lot of things, including the way you can set data protection attributes to your files (NSFileProtectionComplete, NSFileProtectionNone) and how to decide which protection is best for your case.</p>
  
  <p>I just implemented it, but can't figure out how to test if the security is on, any ideas?</p>
  
  <p>In addition, I have a sql lite database that needs to be accessed in background from time to time, and this method of data protection seems to be not good enough.. any link or tutorial that guide me through the best db protection? (found sql cipher but is kinda heavy to add in a evoluted project)</p>
  
  <p>Thanks!</p>