couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svilen ...@svilendobrev.com>
Subject Re: Allow anonymous users to write but not to read from database
Date Tue, 02 Apr 2013 18:52:38 GMT
> http://davispj.com/2010/09/26/new-couchdb-externals-api.html
WAW. is it in couchdb1.2? 
this has to be *better* advertised.. somehow.

svilen

On Tue, 2 Apr 2013 21:09:50 +0400
Alexander Shorin <kxepal@gmail.com> wrote:

> CGI and others may be replaced with CouchDB externals registered as
> httpd_global_handler (or proxy + os_daemon as was showed in Davis
> article). Probably, that's the simplest way to implement this idea
> using only CouchDB and your favourite language. But the idea is the
> same.
> 
> More info about externals:
> http://davispj.com/2010/09/26/new-couchdb-externals-api.html
> --
> ,,,^..^,,,
> 
> 
> On Tue, Apr 2, 2013 at 9:02 PM, Jens Alfke <jens@couchbase.com> wrote:
> >
> > On Apr 2, 2013, at 8:35 AM, Benedikt Rudolph <benedolph@gmail.com>
> > wrote:
> >
> >> I would like to know if it is possible to set up a CouchDB
> >> database such that:
> >> - Anonymous users can write to the database AND
> >> - Anonymous users can NOT read from the database
> >
> > I would implement this with a simple server-side handler (node.js
> > or servlet or CGI or whatever) that accepts anonymous JSON
> > documents and posts them to the database. The database itself
> > wouldn’t be exposed to anonymous access at all — either its port
> > isn’t publicly reachable, or it’s locked down and the CGI sends a
> > valid credential to do its posts.
> >
> > —Jens

Mime
View raw message