couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: CiuchApp logic
Date Wed, 19 Sep 2012 17:30:08 GMT
On Wed, Sep 19, 2012 at 6:06 PM, Ido Ran <ido.ran@gmail.com> wrote:
> Hi,
> I'm trying to understand how to build couchapp that is truly distributed.
> If I'm building web version of Monopoly game using CouchDB and CouchApp;
>
> 1. Where will the business logic of changing the turn from one player to the next will
be?

You can propbably uses _changes for this.

>
> 2. How can I prevent malicious user from changing their local couchDB replica manually
and disrupting the game?


You may need to play with some update validation rules and filter the
replication. What kind of data you need to protect?


>
> Thank you,
> Ido
>
>

Mime
View raw message