Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 48474 invoked from network); 8 Jul 2009 12:28:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jul 2009 12:28:47 -0000 Received: (qmail 81439 invoked by uid 500); 8 Jul 2009 12:28:56 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 81373 invoked by uid 500); 8 Jul 2009 12:28:56 -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 81363 invoked by uid 99); 8 Jul 2009 12:28:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 12:28:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jason@jasondavies.com designates 89.145.97.179 as permitted sender) Received: from [89.145.97.179] (HELO www1.netspade.com) (89.145.97.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 12:28:45 +0000 Received: from host81-151-147-225.range81-151.btcentralplus.com ([81.151.147.225] helo=[192.168.1.73]) by www1.netspade.com with esmtpa (Exim 4.69) (envelope-from ) id 1MOWMh-0004hU-Gq for user@couchdb.apache.org; Wed, 08 Jul 2009 12:35:13 +0000 Message-Id: From: Jason Davies To: user@couchdb.apache.org In-Reply-To: <002701c9ff2a$67b60060$37220120$@nl> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Wed, 8 Jul 2009 13:28:14 +0100 References: <002701c9ff2a$67b60060$37220120$@nl> X-Mailer: Apple Mail (2.935.3) X-SA-Exim-Connect-IP: 81.151.147.225 X-SA-Exim-Mail-From: jason@jasondavies.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on www1.netspade.com X-Spam-Level: Subject: Re: CouchDB shared hosting X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:14:11 +0000) X-SA-Exim-Scanned: Yes (on www1.netspade.com) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 Hi Mark, On 7 Jul 2009, at 18:43, Stream Service || Mark Scholten wrote: > We want to know if the following is possible now or in the near > future. When > it is possible we probably want to add the CouchDB to our standard > packages. > - Access to a database based on the username and password This will be supported imminently. I'm currently working on Jan's OAuth/Authorization proposal, which includes supporting built-in roles of "owner", "writer", "reader" (along with custom roles), which should give us the ability to restrict access to documents in particular databases based on username/password. > - Require that the connections comes from a "trusted" IP or from any > IP (can > also be done by a firewall) The authentication/authorization stuff is designed to be pluggable so supporting additional requirements like this should be as easy as writing a custom auth handler and plugging this into your local.ini on your server. > - The option to change rights and/or passwords for a user with > commands (so > it can be done automatically) One of our design goals is that everything can be done over HTTP, so this should be possible to do via curl or custom shell scripts very easily. > - The option to create/delete users/databases with commands (so it > can be > done automatically) Again, everything is done over HTTP so writing shell scripts to do this would be very straightforward. > - 1 instance for multiple databases (not an instance per database) Once we get the extended authorization stuff in as above, this should be possible out of the box. > If most (or all) options above are possible we will probably start > soon with > offering it on our shared platform. Excellent, good luck! Hope that helps, -- Jason Davies www.jasondavies.com