- CouchDB and PHP Web Development Beginner’s Guide
- Tim Juravich
- 115字
- 2021-08-13 18:22:54
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.
- Open Futon to the Overview.
- Click on the
_users
database. - Click on Security at the top of the screen.
- Change the values of Roles for both Admins and Readers to
["admins"]
, so it looks as follows:
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.
推薦閱讀
- PHP程序設(shè)計(jì)(慕課版)
- 精通搜索分析
- Java程序設(shè)計(jì)與計(jì)算思維
- Unity Shader入門精要
- C語(yǔ)言程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo) (第2版)
- 微信小程序開(kāi)發(fā)與實(shí)戰(zhàn)(微課版)
- Mastering Docker
- jQuery技術(shù)內(nèi)幕:深入解析jQuery架構(gòu)設(shè)計(jì)與實(shí)現(xiàn)原理
- SQL Server 2012 數(shù)據(jù)庫(kù)應(yīng)用教程(第3版)
- Android初級(jí)應(yīng)用開(kāi)發(fā)
- Splunk Essentials
- C#程序開(kāi)發(fā)參考手冊(cè)
- SOA Patterns with BizTalk Server 2013 and Microsoft Azure(Second Edition)
- VC++ 2008專題應(yīng)用程序開(kāi)發(fā)實(shí)例精講
- Analytics for the Internet of Things(IoT)