couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <>
Subject Re: Allow anonymous users to write but not to read from database
Date Tue, 02 Apr 2013 17:02:36 GMT

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.

View raw message