开发者

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

开发者 https://www.devze.com 2023-04-05 14:11 出处:网络
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开发者_如何学编程se

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

精彩评论

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

关注公众号