On Jun 2, 2014, at 2:08 PM, Volker Mische <[email protected]> wrote:

> I just got a question whether it is possible on Android to have a central 
> Couchbase Lite instance that holds the data and then independent apps that 
> access it. For example with using the Android LiteServ (having access through 
> HTTP would be good enough).

What's the advantage of doing it this way, as opposed to each app using its own 
embedded CBL? (That's not a rhetorical question; I know there can be advantages 
for certain use cases. For example, to share a very large database without 
duplication, or to let apps operate on shared data.)

CBL isn't intended to be a server and I'm a little bit wary of it being used as 
one, mostly for security reasons. I don't know if the listener implementation 
on Android supports passwords, for example. And it needs to be careful to avoid 
binding to network interfaces other than loopback (127.0.0.1) or it'll be 
reachable from other devices on the network, which greatly increases the attack 
surface.

--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/4D86C420-47F7-4AD5-9F03-D681249E67C5%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to