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

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.

主站蜘蛛池模板: 沙湾县| 安达市| 彭泽县| 湘乡市| 广丰县| 临朐县| 岳西县| 万载县| 浑源县| 浏阳市| 苍南县| 买车| 齐河县| 布尔津县| 永登县| 敦化市| 康保县| 九江市| 华池县| 临漳县| 安徽省| 甘泉县| 沿河| 怀集县| 金昌市| 九寨沟县| 汉中市| 蕉岭县| 拉孜县| 邯郸市| 红桥区| 沿河| 诸城市| 甘南县| 淮安市| 新兴县| 上虞市| 岳普湖县| 达孜县| 新宁县| 通城县|