Disable Export to CSV in modern list

Occasional Contributor

Hi everyone

 

We have a SharePoint list where we want to prevent people from downloading a copy of the data contained in it.  We have created a a custom permission level which has Use Remote Interfaces and Use Client Integration Features disabled:

 

gjayne84_1-1635937847070.png

 

This seems to stop the Export to Excel option as clicking the button tries to open a query.iqy file but this fails with an error, which is perfect.  However, if a user clicks the Export to CSV file option this works and downloads the csv output straight to their computer:

 

gjayne84_0-1635937457787.png

 

I've had a look but can't find any way of disabling the CSV option, or just preventing it from working.  Is this possible?

 

1 Reply
I believe that is a default function by the sharepoint system and cannot disable by just modifying the permission level.
The only option to I see is to hide that button by means of scripting,

Hope this helps ':)