I want a user to signup for a couchdb database on my web page
I am using couch.js functions to do this and I can create a new database on the 
server.

If there is no server admins it works fine. Or if I am logged in as server 
admin it works fine.
But if I am logged out of futon it will not allow the user to create a db.

How can I do the couch.js db.create() if it requires a server admin account to 
do so?
I don't want to send my credentials with the request like 
http://dan:whims...@localhost:5984 because
then someone could read that from the javascript.

I don't understand how you are supposed to do this.
I also can't be logged in all the time.

How can this work if the login:pass have to be in the javascript?

Dan


 

 


Reply via email to