cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lu, Boying" <Boying...@emc.com>
Subject RE: How to prevent writing to a Keyspace?
Date Mon, 21 Jul 2014 09:34:37 GMT
I see.

Thanks a lot ☺

From: Vivek Mishra [mailto:mishra.vivs@gmail.com]
Sent: 2014年7月21日 14:16
To: user@cassandra.apache.org
Subject: Re: How to prevent writing to a Keyspace?

Create different user and assign role and privileges. Create a user like guest and grant select
only to that user. That way user cannot modify data in specific keyspace or column family.

http://www.datastax.com/documentation/cql/3.0/cql/cql_reference/grant_r.html

-Vivek

On Mon, Jul 21, 2014 at 7:57 AM, Lu, Boying <Boying.Lu@emc.com<mailto:Boying.Lu@emc.com>>
wrote:
Thanks a lot ☺

But I think authorization and authentication do little help here.

Once we allow an user to read the keyspace, how can we prevent him from writing DB
without Cassandra’s help?

Is there any way to support ‘read-only’ some keyspace in Cassandra ? e.g. set some specific
strategy?

Boying

From: Vivek Mishra [mailto:mishra.vivs@gmail.com<mailto:mishra.vivs@gmail.com>]
Sent: 2014年7月17日 18:35
To: user@cassandra.apache.org<mailto:user@cassandra.apache.org>
Subject: Re: How to prevent writing to a Keyspace?

Think about managing it via authorization and authentication support

On Thu, Jul 17, 2014 at 4:00 PM, Lu, Boying <Boying.Lu@emc.com<mailto:Boying.Lu@emc.com>>
wrote:
Hi, All,

I need to make a Cassandra keyspace to be read-only.
Does anyone know how to do that?

Thanks

Boying



Mime
View raw message