I want to build game using CouchApp. 
It's not sensitive data but I don't want very easy way to cheat. 

Ido



ב-19 בספט 2012, בשעה 20:30, Benoit Chesneau <bchesn...@gmail.com> כתב/ה:

> On Wed, Sep 19, 2012 at 6:06 PM, Ido Ran <ido....@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
>> 
>> 

Reply via email to