Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Add SQL-ish security features using HBase AccessController #541

Open
jtaylor-sfdc opened this issue Nov 9, 2013 · 4 comments
Open

Add SQL-ish security features using HBase AccessController #541

jtaylor-sfdc opened this issue Nov 9, 2013 · 4 comments
Assignees

Comments

@jtaylor-sfdc
Copy link
Contributor

In HBase 0.98, cell-level security will be available. Take a look at this excellent blog post by @apurtell. Once Phoenix works on 0.96, we should add support for security to our SQL grammar.

@jtaylor-sfdc
Copy link
Contributor Author

@apurtell - how about this one?

@ghost ghost assigned apurtell Nov 14, 2013
@apurtell
Copy link
Contributor

Actually even with HBase 0.94, Phoenix could manage column and table level permissions with something like GRANT and REVOKE. I deliberately linked to Postgres 8 manpages because Postgres 9's syntax involves RBAC, which the HBase access controller doesn't support, although I suppose we could look at emulating roles with a custom Hadoop group mapper.

On an HBase including HBASE-7662, we could consider fun things like combining GRANT and REVOKE syntax with SELECT. Phoenix would execute the query, retrieve the cells, add cell ACLs, and store them back at their exact coordinates. Can be done in a coprocessor or filter to avoid any round trips over the network.

@jtaylor-sfdc
Copy link
Contributor Author

Nice, didn't realize that.

Any volunteers?

@apurtell
Copy link
Contributor

Yes I volunteer, to add GRANT and REVOKE for 0.94/0.96.

Also interested in marrying those statements with SELECT - I believe that would be a first.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants