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

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.

主站蜘蛛池模板: 高阳县| 安远县| 杭州市| 宜黄县| 元氏县| 建湖县| 新源县| 慈溪市| 皮山县| 绥滨县| 塘沽区| 鸡东县| 独山县| 东山县| 绥江县| 延边| 玉田县| 普兰县| 太谷县| 通海县| 温宿县| 隆林| 山西省| 吉木乃县| 宁明县| 郯城县| 大港区| 邻水| 江口县| 武冈市| 玉龙| 松潘县| 汝城县| 乌鲁木齐县| 芷江| 依安县| 无棣县| 白沙| 静海县| 轮台县| 肇东市|