title: Sensitive Data stored in cache.db-wal file?
body: <p>I am facing an issue in an iOS application that uses a UIWebView to render HTML5 code that is part of the application bundle.  </p>
  
  <p>This HTML5 code makes ajax requests to our backend which may potentially have sensitive data in them.  This is all done over HTTPS and our application never stores the sensitive data.  However, when doing security testing for the application, we found that http post requests where being stored in a local SQL Lite database (cache.db) as of iOS 5. </p>
  
  <p>It was easy to manage that, by setting the NSURLCache global object to have zero disk storage, and deleting the file when appropriate.  </p>
  
  <p>Now however, it looks like in iOS 6.1 Apple has changed the implementation again, and the data is being stored in cache.db-wal.  I have limited knowledge of SQL Lite, but I think this is a file created when SQL Lite is initialized with certain options.  </p>
  
  <p>Any suggestions as to a fix?  </p>