Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Try adding ";Password=mypassword" to your connection string, and remove the call to ChangePassword.</p> <p>Please note that, by default, the iPhone implementation of sqlite does not support encryption, so the sqlite commands for that will be no-ops.</p> <p>You can get a (paid) copy of the encrypt-able version of sqlite from <a href="http://www.hwaci.com/sw/sqlite/see.html" rel="nofollow">http://www.hwaci.com/sw/sqlite/see.html</a>, and compile it into your application, making sure to remove the libsqlite3*.dylib from your project if you've linked that in.</p> <p>You may have to do a bit of digging in the Monotouch documentation and/or experimentation to make sure that the Monotouch library itself is not including the default sqlite implementation, but in fact links to the implementation you specify. Try it first, if things still don't work that's where I'd start looking.</p> <p>You can do this experiment without paying for the encrypted version, simply using the sqlite3 source code available on the net, with appropriate break points.</p> <p>Good luck!</p> <p>PS: Note that there is no comparable solution for Android at this point, this works on iPhone because iPhone runs native C code.</p> <p>PPS: There is also <a href="http://mobileorchard.com/tutorial-iphone-sqlite-encryption-with-sqlcipher" rel="nofollow">SQLCipher</a> that claims to encrypt sqlite on iPhone. However I found the configuration requirements to be below my standards for simplicity. I'm also not sure if it will properly insert itself between Monotouch's framework code and the default iPhone sqlite implementation.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload