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 <[email protected]> wrote:
>
> On Apr 2, 2013, at 8:35 AM, Benedikt Rudolph <[email protected]> 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

Reply via email to