Authorization Security for Mongodb
Posted 庄泽波の博客
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Authorization Security for Mongodb相关的知识,希望对你有一定的参考价值。
To keep security for the mongodb server, we can create an authorized machanism.
db.createUser( { user: "user1", pwd: "passwd", roles:[{"role": "userAdminAnyDatabase", "db": "admin"}] } ) db.createUser( { user: "user2", pwd: "passwd", roles:[{"role": "readWrite", "db": "database"}] } )
以上是关于Authorization Security for Mongodb的主要内容,如果未能解决你的问题,请参考以下文章
Security----Authorization----基于角色的授权
Authorization Security for Mongodb
Security » Authorization » 基于声明的授权
Spring Security(三十):9.5 Access-Control (Authorization) in Spring Security