`MB_DOWNLOAD_ROW_LIMIT` setting not respected

In v0.52.6, we set MB_DOWNLOAD_ROW_LIMIT to -1. While not perfect, this allowed us to get the behaviour we wanted for downloads. It would create a dowloaded file (csv, xlsx, json) without any data, but printed an error stack trace.

In v0.54 though, this seems broken. Setting this variable does nothing to limit the dowloaded data. Even if I set it to 0,1 it allows a user to download the entire data result.

Any ideas of a workaround?

Hi there!

Disabling downloads is officially supported for Pro and Enterprise only.
Setting the limit to -1 threw an exception in versions prior to v0.54, and while this might have worked as a workaround, this isn't the intended method, so it is not officially supported.

With the update in v0.54, the minimum for MB_DOWNLOAD_ROW_LIMIT has been raised, which means that the previous workaround won’t disable downloads anymore.

There is also the possibility of using a reverse proxy to block downloads:

1 Like