From user-return-15996-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Tue Apr 26 14:18:13 2011 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 98ED51023 for ; Tue, 26 Apr 2011 14:18:13 +0000 (UTC) Received: (qmail 83058 invoked by uid 500); 26 Apr 2011 14:18:12 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 83008 invoked by uid 500); 26 Apr 2011 14:18:11 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 82999 invoked by uid 99); 26 Apr 2011 14:18:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 14:18:11 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nebupookins@gmail.com designates 209.85.213.52 as permitted sender) Received: from [209.85.213.52] (HELO mail-yw0-f52.google.com) (209.85.213.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 14:18:05 +0000 Received: by ywo7 with SMTP id 7so361268ywo.11 for ; Tue, 26 Apr 2011 07:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=Zz06o5z3iMR1thY3+OTnnTLmdWjaN9D5jRxFfzxSNv8=; b=F4EBHU30aL07DHZmJi97+wj2zSiCvcziL55Rf0WsB/Sl8lkoOOYKDoGl9TxStAbqr/ Qn0nwYXBoAJm5UA2WeitzCgQy+ky6cJysGIJPR3ZRg0/zeB51yLnYZ0aiGu6fGFMUqVy gtjbIrvSXFqFveiUF6J4GXiHWSw6H2NTfULHM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=h7ZsNzKDXG/NmEvr0v7Rtd6ovpgm+zoqjvOq5q4/dt6GCFbkSos6iKPkpQE56FyflH nZvoT6Ylj2QIRM0w2BTvs2zFNQVaIiZhMHXQke1JisncMlyOzcW7JlB2H2c+i5Oc3gOC cgGLmjpSiItTF2cQslXlhtXBzgxCxGXzxAVyA= MIME-Version: 1.0 Received: by 10.100.28.24 with SMTP id b24mr529321anb.168.1303827464792; Tue, 26 Apr 2011 07:17:44 -0700 (PDT) Received: by 10.100.242.7 with HTTP; Tue, 26 Apr 2011 07:17:44 -0700 (PDT) In-Reply-To: References: <4DB06591.4060600@gmail.com> Date: Tue, 26 Apr 2011 10:17:44 -0400 Message-ID: Subject: Re: Help needed: is couchDB a good fit for my app? From: Nebu Pookins To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Right, isn't this what Philipp Forsthuber is doing now? I thought Jeroen van Dijk's question was why not using filtered replication instead of this two-database-tier scheme. On Tue, Apr 26, 2011 at 10:14 AM, Sean Copenhaver wrote: > I believe the idea would be that you use filtered replication between the > master and the individual user databases, all of which you control. > > On Tue, Apr 26, 2011 at 10:05 AM, Nebu Pookins wro= te: > >> On Mon, Apr 25, 2011 at 4:26 AM, Jeroen van Dijk >> wrote: >> > So far I don't understand why this approach is needed >> > when it seems one could also use: >> > http://wiki.apache.org/couchdb/Replication#Filtered_Replicationdirectl= y. >> > However, I have no practical experience with this so I would be happy = to >> > hear why that is not feasible. >> >> I don't have any practical experience with filtered replication >> either, but from reading the docs, it seems like the user decides >> whether or not they want to filter their replication by passing in the >> name of the filter-function in the URL. Therefore, you can't use this >> to restrict access to a document, because otherwise, a user could just >> modify the URL to remove the filter, and thus gain access to all >> documents. >> >> - Nebu >> > > > > -- > =E2=80=9CThe limits of language are the limits of one's world. =E2=80=9C = -Ludwig von > Wittgenstein >