HDFS supports POSIX style file and directory permissions (read, write, execute) 
for the owner, group and world. You can change the permissions with hadoop fs 
-chmod <permissions> <path>

-Joey


On Feb 22, 2012, at 5:32, <shreya....@cognizant.com> wrote:

> Hi
> 
> 
> 
> 
> 
> I want to implement security at file level in Hadoop, essentially
> restricting certain data to certain users.
> 
> Ex - File A can be accessed only by a user X
> 
> File B can be accessed by only user X and user Y
> 
> 
> 
> Is this possible in Hadoop, how do we do it? At what level are these
> permissions applied (before copying to HDFS or after putting in HDFS)?
> 
> When the file gets replicated does it retain these permissions?
> 
> 
> 
> Thanks
> 
> Shreya
> 
> 
> This e-mail and any files transmitted with it are for the sole use of the 
> intended recipient(s) and may contain confidential and privileged information.
> If you are not the intended recipient, please contact the sender by reply 
> e-mail and destroy all copies of the original message.
> Any unauthorized review, use, disclosure, dissemination, forwarding, printing 
> or copying of this email or any action taken in reliance on this e-mail is 
> strictly prohibited and may be unlawful.

Reply via email to