couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shorin <>
Subject Re: Allow anonymous users to write but not to read from database
Date Tue, 02 Apr 2013 17:09:50 GMT
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

More info about externals:

On Tue, Apr 2, 2013 at 9:02 PM, Jens Alfke <> wrote:
> On Apr 2, 2013, at 8:35 AM, Benedikt Rudolph <> 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

View raw message