Prevent file downloads from /files/ URL

User16826987838
Databricks Employee
Databricks Employee

I would like to prevent file download via  /files/ URL.

For example: 

https://customer.databricks.com/files/some-file-in-the-filestore.txt

Is there a way to do this?

sajith_appukutt
Databricks Employee
Databricks Employee

You could try a root bucket policy that blocks /FileStore/* prefix. But this could affect some functionality. Please get in touch with the accounts team

Mooune_DBU
Databricks Employee
Databricks Employee

Unfortunately this is not possible from the platform.

You can however use an external Web Application Firewall (e.g. Akmai) to filter all web traffic to your workspaces.  This can block both Web access to download root bucket data.