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 1A429EBC7 for ; Sat, 23 Feb 2013 17:36:11 +0000 (UTC) Received: (qmail 40326 invoked by uid 500); 23 Feb 2013 17:36:09 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 40290 invoked by uid 500); 23 Feb 2013 17:36:09 -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 40281 invoked by uid 99); 23 Feb 2013 17:36:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Feb 2013 17:36:09 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [80.244.253.218] (HELO mail.traeumt.net) (80.244.253.218) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Feb 2013 17:36:01 +0000 Received: from [10.0.0.14] (91-66-82-235-dynip.superkabel.de [91.66.82.235]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.traeumt.net (Postfix) with ESMTPSA id 2FEC314050 for ; Sat, 23 Feb 2013 18:31:42 +0100 (CET) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: database per user architecture couchapp From: Jan Lehnardt In-Reply-To: <47F8C78B-CAC4-48E7-96AC-CA262D604EE2@yahoo.com> Date: Sat, 23 Feb 2013 18:35:42 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <84E0966B-750F-4CE0-8CB7-AD609B9CE95C@apache.org> References: <5126F04D.8010305@binarykitchen.com> <20130222132727.5b04d528@dede> <5126FEC9.3080900@binarykitchen.com> <24AB690E-CF65-4CD6-A910-3FDE292D563A@apache.org> <47F8C78B-CAC4-48E7-96AC-CA262D604EE2@yahoo.com> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 22, 2013, at 22:55 , Jeff Charette wrote: > So this would force me to host my own couch as opposed to using iris = couch? you could run script on heroku/nodejitsu etc. that would connect to your = Iris Couch instance. Cheers Jan --=20 >=20 > Jeff Charette | Principal=20 > We Are Charette > web / identity / packaging >=20 > m 415.298.2707 > w wearecharette.com > e jeffrey@wearecharette.com >=20 > On Feb 22, 2013, at 3:58 PM, Jan Lehnardt wrote: >=20 >>=20 >> On Feb 22, 2013, at 21:46 , Jeff Charette wrote: >>=20 >>> Does anyone know how setup database per user in a couch app? = Wouldn't this just give admin access to the main db? >>=20 >> People use background processes to create databases on demand. You = can manage them with CouchDB=92s =93Externals=94 system. Listening on = the _users db=92s _changes feed and acting on that is common pattern. >>=20 >> Cheers >> Jan >> --=20 >>=20 >>=20 >>>=20 >>> I am trying to setup up a basic user signup, then give them = protected docs. I have it working for a whole database, but ran into = trouble with attachments. Many have also warned of the security issues = of protecting your docs with secure_rewrites. >>>=20 >>> I'm stuck and thanks for all your time. >>>=20 >>> Jeff Charette | Principal=20 >>> We Are Charette >>> web / identity / packaging >>>=20 >>> m 415.298.2707 >>> w wearecharette.com >>> e jeffrey@wearecharette.com >>=20 >=20