incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ido Ran <ido....@gmail.com>
Subject Re: CiuchApp logic
Date Wed, 19 Sep 2012 17:39:10 GMT
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 <bchesneau@gmail.com> כתב/ה:

> 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
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message