You can manage Hue file uploads and restrict unsupported file extensions across all
configured filesystems. For example, you can allow .csv files while
blocking .exe files to enhance security..
Log in to Cloudera Manager > Clusters > Hue service > Configuration.
In the search, enter hue_safety_valve.ini to locate the
Hue Service Advanced Configuration Snippet (Safety Valve) for
hue_safety_valve.ini field.
Set the configuration in the Hue Service Advanced Configuration
Snippet (Safety Valve) for the hue_safety_valve.ini field as
follows:
[filebrowser]
restrict_file_extensions = .sh, .exe
#Specify file extensions that are not allowed, separated by commas.