Secure Cookie Authentication for CouchDB
I’ve recently been working on an implementation of cookie-based
authentication for CouchDB. This is important for pure CouchDB applications (couchapps), where browsers communicate directly with CouchDB. Currently browsers can be authenticated using HTTP basic auth but the popup login box can be disruptive and confusing for users.
Implementation
The cookie part itself was pretty straightforwa...