Kayıtlar

Ocak 24, 2017 tarihine ait yayınlar gösteriliyor

M310: MongoDB Security Homework 2.1

Download Handouts: m310-hw-2.1.zip For this homework exercise you're going to spin up a replica set and create some users with different roles based on the different tasks that each user needs to be able to perform. Your replica set should be running on the following ports: Type Primary Secondary Secondary Port 31210 31211 31212 Your replica set should have authentication enabled using a shared keyfile. After you have your members up and running you can connect to the  mongod  running on port  31210 . Once connected create the following users: User Password Can Cannot userAdmin badges create users on any database run dbhash sysAdmin cables configure a replica set and add shards run hostInfo dbAdmin collections create a collection on any database run insert dataLoader dumpin insert data on any database run validate The  Can  column denotes tasks that the user should be able to complete. The  Cannot column denotes tasks that the user shouldn't have