Hi, Can we restrict user from uploading certain type of files in HDFS? For example we do not want the user to upload a file with extension .exe. If yes then how can I achieve that.
You can use Ranger Authorizer to achieve this. You need to create policy with deny conditions in order to make this work.
@Anibal_Linares Thank you for your response. I went through the article mentioned and found that there was no provision for mention of file type. Could see that you can specify group of users only. I want to have this policy for all the users. May be I need to explore more on Ranger. Currently we do not have it installed and will have to check with the Admin. Meanwhile I'll explore Ranger and also if there are any other possible solution for this.