You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by co...@shahan.me on 2009/09/13 06:19:12 UTC
Search and ACL
How exactly does the search work? Is it similar to fulltext
searching?
What type of username/password security is there? (for example
sharing a
Cassandra db between applications, and isolating their access
controls)
Also, how do I search through the mail archives?
Thanks,
Shahan
Re: Search and ACL
Posted by Jonathan Ellis <jb...@gmail.com>.
Rackspace is interested in per-keyspace authentication too.
-Jonathan
On Sun, Sep 13, 2009 at 3:13 PM, <co...@shahan.me> wrote:
> Thank you for your reply.
>
> So the best way to use Cassandra would be at least behind a firewall.
>
> In the future is it possible to add a username/password type security in? I
> plan to support the project, just as soon as I have some revenue coming in
> through my business.
>
> Thanks,
>
> Shahan
>
> On Sun, 13 Sep 2009 13:03:21 +0100, Mark Robson <ma...@gmail.com> wrote:
>>
>> What type of username/password security is there? (for example sharing a
>> Cassandra db between applications, and isolating their access controls)
>>
>>
>
> Also I should point out, that the default startup script for Cassandra also
> enables the Java debugger and JMX connections from anywhere, both of which
> are probably even more security risks than Cassandra's own protocols.
>
> Mark
>
>
Re: Search and ACL
Posted by Mark Robson <ma...@gmail.com>.
2009/9/13 <co...@shahan.me>
> Thank you for your reply.
>
> So the best way to use Cassandra would be at least behind a firewall.
>
> In the future is it possible to add a username/password type security in? I
> plan to support the project, just as soon as I have some revenue coming in
> through my business.
>
I can't imagine anyone using Cassandra on public IP address space i.e.
without a firewall. It's the same use-case as memcached, which also has no
authentication or security.
The thrift protocol could in principle use a username/password I guess - I
imagine that the reason that it doesn't is that Facebook have never required
one.
Mark
Re: Search and ACL
Posted by co...@shahan.me.
Thank you for your reply.
So the best way to use Cassandra would be at
least behind a firewall.
In the future is it possible to add a
username/password type security in? I plan to support the project, just as
soon as I have some revenue coming in through my business.
Thanks,
Shahan
On Sun, 13 Sep 2009 13:03:21 +0100, Mark Robson wrote:
What
type of username/password security is there? (for example sharing
a
Cassandra db between applications, and isolating their access controls)
Also I should point out, that the default startup script for Cassandra
also enables the Java debugger and JMX connections from anywhere, both of
which are probably even more security risks than Cassandra's own
protocols.
Mark
Re: Search and ACL
Posted by Mark Robson <ma...@gmail.com>.
> What type of username/password security is there? (for example sharing a
> Cassandra db between applications, and isolating their access controls)
>
>
> Also I should point out, that the default startup script for Cassandra also
enables the Java debugger and JMX connections from anywhere, both of which
are probably even more security risks than Cassandra's own protocols.
Mark
Re: Search and ACL
Posted by Mark Robson <ma...@gmail.com>.
2009/9/13 <co...@shahan.me>
> How exactly does the search work? Is it similar to fulltext searching?
>
>
No.
There are two ways you can find stuff - either by exact key (key must be
exactly right, it's byte-based), or (if you're using the
OrderPreservingPartitioner) a key range scan.
In the case of a key range scan you specify the start / end keys and it
lists the keys which exist (up to a specified limit) in that CF in that
range, ordered by key.
> What type of username/password security is there? (for example sharing a
> Cassandra db between applications, and isolating their access controls)
>
> There is none. Cassandra clusters allow any operation for anyone who can
make a connection to any node in the cluster.
A Cassandra cluster used by multiple applications just has to trust them not
to trash each others' data.
A Cassandra cluster used by multiple applications, in any case, requires the
admin to set up the storage-conf.xml to contain the set of Keyspaces / CFs
etc required by all the applications, which needs to be the same on all the
nodes, so a certain amount of careful control and cooperation is required.
I can only really see a case where an instance would be used by multiple
applications, if they were fundamentally under the control (software-release
wise) of the same team of developers and ops engineers, otherwise change
control would be a disaster. There is no analogue of CREATE TABLE / ALTER
TABLE as supported by RDBMSs.
Mark