How to prevent client to upload huge/large files?

Some times users are uploading huge files(>80GB) over the windows or linux clients. It is unhealthy for our environment:(
Are there way to restrict it?
thanks,
Arman.

It might be doable using this app: https://docs.nextcloud.com/server/11/admin_manual/configuration_files/files_access_control.html

Thank you for pointing it.
I just testing it and somehow It is unclear why it is still does not work. If one of the rules is true then request is rejected?
but my client can upload 4GBfile same as before.