title: iOS - Protecting files with a custom encryption key?
body: <p>Yesterday I posted this question about protecting files: <a href="https://stackoverflow.com/questions/4595955/protecting-the-app-sandbox">Protecting the app sandbox</a></p>
  
  <p>As mentioned, it appears that this is effective for protecting a file if the user has a passcode on the iPad.  Naturally this raises the question of how to handle the encryption if the user does not.  Now I have an idea, but am not sure if it's feasible or not.</p>
  
  <ul>
  <li>Is there any way to override the encryption key to use a custom one?  My gut instinct is no, but I figured there may be a way.  (Btw, this is just an experiment for fun, I don't plan on submitting this to the app store...)  My application has a login, and it would be very handy if this could be handled at the application level to accommodate users that do not have a lock.</li>
  </ul>
  
  <p>However, I suppose it wouldn't be unreasonable to disable the saving feature if there is no device passcode...  Any thoughts?</p>