Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 98129 invoked from network); 11 Oct 2009 01:00:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Oct 2009 01:00:50 -0000 Received: (qmail 33798 invoked by uid 500); 11 Oct 2009 01:00:49 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 33740 invoked by uid 500); 11 Oct 2009 01:00:48 -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 33730 invoked by uid 99); 11 Oct 2009 01:00:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2009 01:00:48 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=FS_REPLICA,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aventurella@gmail.com designates 209.85.211.183 as permitted sender) Received: from [209.85.211.183] (HELO mail-yw0-f183.google.com) (209.85.211.183) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2009 01:00:38 +0000 Received: by ywh13 with SMTP id 13so3028155ywh.29 for ; Sat, 10 Oct 2009 17:59:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=f+thZvKbLTm/Oeb0I57m4gC4VGx0WVREuQpClFE4jOo=; b=avVugz1GDbB4i/OOQ+uAkrB5FvI8elW6fHQbilSFgyQp/dkpvQOEFOn9VUwwLs+5PO yQjM/K42sgTXHw1ZxGopvgHM99LnKUu6wmYgVPjBxcvGDC2lIkI13bGK8RZmBmlmRka+ GtgiKzAY5ZBqbKg4u+SBywfNAatPTJhwiJ6rw= 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=cKIgW7uHvUojwqmKf4+OkYR/Niwj+WgMqh5UoCwLozOW/KUBrz6wJmZARn4VCMr5dj y1NwgnzAEkKKBtZuvQcgwEihPthDRrvqRX/+HE2IzdQV9Q8UjNuonpzteuZN6DdgKLtg NELlKcXisI5fEiczB4Cq3CdsIN6eC0/ldMv8k= MIME-Version: 1.0 Received: by 10.90.61.3 with SMTP id j3mr2524647aga.40.1255222757317; Sat, 10 Oct 2009 17:59:17 -0700 (PDT) In-Reply-To: References: Date: Sat, 10 Oct 2009 17:59:17 -0700 Message-ID: Subject: Re: Authorize Replication? From: Adam Venturella To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Thanks for pointing me in the right direction: http://wiki.apache.org/couchdb/Nginx_As_a_Reverse_Proxy http://wiki.apache.org/couchdb/Apache_As_a_Reverse_Proxy I should be able to setup my API for my service to pass OAuth headers which I can handle in a file, and if Authenticated, forward the request on to the CouchDB server. At least that's my latest idea. Off to test it now. On Sat, Oct 10, 2009 at 2:46 PM, Mirsal Ennaime wrote: > Hello, > > On Sat, Oct 10, 2009 at 2:28 AM, Adam Venturella = wrote: >> If I have 2 DBs: "A", and "B" on my server, and I want to replicate >> (have the local pull from the master) "A" to another server, I get how >> that works. =A0But what if only certain people are allowed to replicate >> "A", how would I arrange that? =A0For example, I do not want the same >> user to be able to replicate "B", only "A". =A0To add one more layer on >> this, at some point, I want to be able to grant the user the ability >> to replicate "B" as well as "A". > > You can do that with a webserver (such as nginx) as a proxy. > > Regards, > > -- > Mirsal Ennaime > http://www.winux.fr >