incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shorin <kxe...@gmail.com>
Subject Re: CouchDB: Securing all PUT, POST, and DELETE Calls
Date Wed, 08 Jan 2014 19:12:58 GMT
Just setup validate_doc_update[1] function that allows any writes only
for admins (_admin role or being  in admin section of security object)
.

http://docs.couchdb.org/en/latest/couchapp/ddocs.html#validate-document-update-functions
--
,,,^..^,,,


On Wed, Jan 8, 2014 at 11:06 PM, Hank Knight <hknight555@gmail.com> wrote:
> I want to limit all PUT, POST and DELETE calls to users with
> administrative privileges.

Mime
View raw message