diff --git a/src/main/docbkx/security.xml b/src/main/docbkx/security.xml index c7ea8a4ed25..2b782cf0f98 100644 --- a/src/main/docbkx/security.xml +++ b/src/main/docbkx/security.xml @@ -484,7 +484,7 @@ - Row-level or per value (cell): This would require broader changes for storing the ACLs inline with rows. It is a future goal. + Row-level or per value (cell): Using Tags in HFile V3 Push down of file ownership to HDFS: HBase is not designed for the case where files may have different permissions than the HBase system principal. Pushing file ownership down into HDFS would necessitate changes to core code. Also, while HDFS file ownership would make applying quotas easy, and possibly make bulk imports more straightforward, it is not clear that it would offer a more secure setup. @@ -670,6 +670,47 @@ Access control mechanisms are mature and fairly standardized in the relational d ]]> +
+ Cell level Access Control using Tags + + Prior to HBase 0.98 access control was restricted to table and column family level. Thanks to tags feature in 0.98 that allows Access control on a cell level. + The existing Access Controller coprocessor helps in achieving cell level access control also. + For details on configuring it refer to Access Control section. + + + The ACLs can be specified for every mutation using the APIs + + perms) + ]]> + + For example, to provide read permission to an user ‘user1’ then + + + + Generally the ACL applied on the table and CF takes precedence over Cell level ACL. In order to make the cell level ACL to take precedence use the following API, + + + + Please note that inorder to use this feature, HFile V3 version should be turned on. + + + hfile.format.version + 3 + + ]]> + + Note that deletes with ACLs do not have any effect. + To keep things simple the ACLs applied on the current Put does not change the ACL of any previous Put in the sense + that the ACL on the current put does not affect older versions of Put for the same row. + +
Shell Enhancements for Access Control The HBase shell has been extended to provide simple commands for editing and updating user permissions. The following commands have been added for access control list management: