couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hank Knight <hknight...@gmail.com>
Subject CouchDB: Prevent regular users from accessing Futon
Date Thu, 14 Nov 2013 20:53:54 GMT
I want to know how to block access to Futon (_utils) for CouchDB users
who are not administrators.

I create a user like this:
curl -k -u nlbdmobz@sharklasers.com:password123 \
 -X POST https://zqzqzqz555.couchappy.com/_users \
 -d "{\"_id\": \"org.couchdb.user:${username}\",\"name\":
\"${username}\",\"type\": \"user\",\"roles\": [],\"password\":
\"${password}\"}" -H "Content-Type: application/json"

How can I keep that user from accessing Futon?

Mime
View raw message