官术网_书友最值得收藏!

Time for action — securing the _users database

Let's secure the _users database so that only server admins can read, write, and edit the other users within the system.

  1. Open Futon to the Overview.
  2. Click on the _users database.
  3. Click on Security at the top of the screen.
    Time for action — securing the _users database
  4. Change the values of Roles for both Admins and Readers to ["admins"], so it looks as follows:
    Time for action — securing the _users database

What just happened?

You just changed the roles of Admins and Readers for the _users database to ["admins"], so that only admins could read or alter the design documents and readers' list. We made the format of the roles ["admins"] because it accepts roles in the form of an array.

主站蜘蛛池模板: 阿尔山市| 娱乐| 栖霞市| 南通市| 虎林市| 阿拉善右旗| 旺苍县| 虞城县| 黔江区| 郸城县| 绥中县| 游戏| 郯城县| 文安县| 乐东| 南丰县| 收藏| 永康市| 辽阳市| 拉萨市| 肇庆市| 富锦市| 丁青县| 东港市| 泰兴市| 全州县| 温宿县| 达孜县| 航空| 青田县| 抚州市| 龙岩市| 灵宝市| 澄迈县| 台中市| 庄浪县| 盐池县| 府谷县| 白朗县| 昂仁县| 九龙坡区|