What are the "small modifications to CBL" that you know need to be done? 
Has anyone started work on them?

I ask because I really am looking to use SQLCipher with couchbase-lite-net. 
Looking at the source, I notice that couchbase-lite-net uses SQLitePCL.raw, 
but SQLCipher implements the sqlite-net and Mono.Data.Sqlite APIs. I could 
make a new implementation of the ISQLiteStorageEngine that uses the 
sqlite-net API instead of the SQLitePCL.raw API, and then it would be easy 
to use either SQLCipher or sqlite-net-pcl within couchbase-lite-net. 
(sqlite-net-pcl uses SQLitePCL.raw underneath).

Would that be the ideal approach?
~James

On Wednesday, January 7, 2015 at 6:39:02 PM UTC-5, Jens Alfke wrote:
>
>
> On Jan 7, 2015, at 3:12 PM, Jsparrow <[email protected] <javascript:>> 
> wrote:
>
> I'm using the CBLite .NET package and I noticed that after creating the 
> database, I can use an sqlite browser to simply open the .cblite file and 
> see the contents of the database. Is there a way to set a username and 
> password and make it so that the database can only be opened with those ?
>
>
> You mean you want to encrypt the database file? There's a fork of SQLite 
> called SQLCipher that does encryption, although using it with Couchbase 
> Lite requires some small modifications to CBL that haven't been made on the 
> .NET side yet.
>
> The drawback of this is that the user will have to type in a password 
> every time they launch your app, which is annoying. (What platform is your 
> app for?)
>
> —Jens
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/e19096c4-da56-409b-b437-d7e4ed865c63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to