开发者

How to create SIGN UP and LOG IN with Jquery and CouchDb?

How to set up couchDb to perform SignUp and LogIn? Creating special database just for that, or giving evry document username and password. The goal is to retrieve custom document ba开发者_如何学编程sed on user/password. So if one has successful LogIn, couch loads his own document with data only for him! Is there a way to do validation on CouchDb based on user input in client-side, any ideas,examples?


These are very important questions, and coincidentally, somebody asked the question yesterday of how to log in to a couchapp with private data.

For signup, I recommend the excellent book from O'Reilly: CouchDB: The Definitive Guide which is free online. It has a chapter on users and security.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜