Lets say an application is written purely using JavaScript with node.js that connects directly to the MongoDB backend.
In this scenario is it possible to have a secure application where users login and have privilege separation like administrative/user/guest. If so how does this work? What would it require?
CouchDB has a concept of users and authentication.
Take a look at the
_usersdatabase documentationI have some code that talks to
_users