[英]Setting Username and Password For Cassandra database
I am Very much new to cassandra database. 我是cassandra数据库的新手。 I need to set up a username and password for the database ... Somebody please help me explaining how to do that..
我需要为数据库设置用户名和密码......有人请帮我解释如何做到这一点..
You can create users with passwords that have ro or rw access at the column family level. 您可以使用在列族级别具有ro或rw访问权限的密码创建用户。 For Cassandra 0.7 or earlier, you can find an overview here: http://www.datastax.com/docs/0.7/configuration/authentication
对于Cassandra 0.7或更早版本,您可以在此处找到概述: http : //www.datastax.com/docs/0.7/configuration/authentication
For 1.0 and later, authentication was moved into the examples directory. 对于1.0及更高版本,身份验证已移至examples目录中。 You can find an example of how to configure it (same as before) here: http://devblog.michalski.im/2012/04/05/adding-simple-authentication-to-cassandra/
您可以在此处找到如何配置它的示例(与之前相同): http : //devblog.michalski.im/2012/04/05/adding-simple-authentication-to-cassandra/
In general, Cassandra developers seem to recommend segregating your Cassandra database via firewall over relying on user/pass authentication. 通常,Cassandra开发人员似乎建议通过防火墙隔离您的Cassandra数据库,而不是依赖于用户/通过身份验证。 If you can go this route, it's much preferred.
如果你能走这条路,那就更受欢迎了。
For additional security, you can also encrypt inter-node communication: http://wiki.apache.org/cassandra/InternodeEncryption 为了提高安全性,您还可以加密节点间通信: http : //wiki.apache.org/cassandra/InternodeEncryption
Here's some more on Cassandra's permissions too (after you setup authentication): http://devblog.michalski.im/2012/04/22/more-on-cassandra-simpleauthority-permissions/ 以下是关于Cassandra权限的更多信息(在您设置身份验证之后): http : //devblog.michalski.im/2012/04/22/more-on-cassandra-simpleauthority-permissions/
So, there's a bit more than only the CF-level permission system. 因此,有一点不仅仅是CF级权限系统。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.