No I don't mean encryption, I'm talking about having database credentials. 
For example, with MySQL you have database credentials and you can't access 
the database without providing the database username and password when you 
open the connection to the database. I'm aware MySQL is not an embedded 
database, but that was just an example. I was just wondering if couchbase 
lite had something like that, my app is a windows application (not Windows 
phone) . And if cblite doesn't support credentials, the only other way to 
protect the contents would be encrypting, like you said.

On Wednesday, January 7, 2015 11:39:02 PM UTC, 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/ea2f8497-e8fe-4ae2-b895-7374ca84dc99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to