How to create user accounts in MongoDB?

I wonder what the “right” way to create user accounts in MongoDB and actions like register / login. Do I need to create a specific collection for users (username, email address, password), or does MongoDB have something built-in for users?

If I need to manually create a collection of users, how to deal with password encryption? Thank.

+5
source share
2 answers

You may have to manually create a collection of users and manage them.

, - -, db. , , - , , db. , , - , , .

( ) .

+5

Mongo , , . " <language or platform you are using> mongo"

+2

All Articles