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

Time for action — taking CouchDB out of Admin Party

Having CouchDB unsecure isn't bad when you are programming locally, but it can be catastrophic if you accidentally have an unsecure database on a publicly accessible server. Let's briefly add security now to make sure you know how to do it in the future.

  1. Open Futon to the Overview, and look at the bottom right corner. You'll see text that says:
    Welcome to Admin Party! Everyone is admin. Fix this. 
    
  2. Click on the Fix this link.
  3. A new window will pop up, prompting you Create Server Admin.
    Time for action — taking CouchDB out of Admin Party
  4. Enter in a username and password that you want to use for your administrator account, and click on Create.

What just happened?

You just used Futon to add a server admin to your CouchDB installation. The Create Server Admin pop up said that once a server admin was added, you would be able to create and destroy databases, and perform other administrative functions. All other users (including anonymous users) can still read and write to the databases. With that in mind, we'll want to add some security onto the database as well.

主站蜘蛛池模板: 军事| 抚远县| 宁乡县| 武邑县| 绥中县| 牡丹江市| 阳原县| 融水| 临夏市| 洛川县| 平利县| 石棉县| 漳平市| 奈曼旗| 汽车| 汝州市| 阜城县| 海伦市| 青岛市| 手机| 鹤岗市| 东源县| 寿阳县| 巴南区| 离岛区| 台北市| 铅山县| 普兰县| 建昌县| 柏乡县| 肥乡县| 苗栗市| 辽阳县| 偃师市| 神木县| 来安县| 吐鲁番市| 登封市| 祁门县| 南投县| 抚顺县|