- CouchDB and PHP Web Development Beginner’s Guide
- Tim Juravich
- 189字
- 2021-08-13 18:22:54
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.
- 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.
- Click on the Fix this link.
- A new window will pop up, prompting you Create Server Admin.
- 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.
推薦閱讀
- 多媒體CAI課件設計與制作導論(第二版)
- Cocos2d Cross-Platform Game Development Cookbook(Second Edition)
- ReSharper Essentials
- C語言程序設計習題解析與上機指導(第4版)
- Flash CS6中文版應用教程(第三版)
- Practical Game Design
- JavaScript by Example
- 精通網絡視頻核心開發技術
- EPLAN實戰設計
- 移動界面(Web/App)Photoshop UI設計十全大補
- 微信小程序全棧開發技術與實戰(微課版)
- QGIS Python Programming Cookbook(Second Edition)
- Modern C++ Programming Cookbook
- Qt 4開發實踐
- C++17 By Example