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...@emc.com> wrote:

> Thanks a lot J
>
>
>
> 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.v...@gmail.com]
> *Sent:* 2014年7月17日 18:35
> *To:* 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...@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
>
>
>
>
>

Reply via email to