How to ban TL1 or other groups to attach attachments in topics?

Max image size KB The maximum image upload size. This must be configured in nginx (client_max_body_size) / apache or proxy as well. Images larger than this and smaller than client_max_body_size will be resized to fit on upload.
Max attachment size KB The maximum attachment files upload size. This must be configured in nginx (client_max_body_size) / apache or proxy as well.
params:
  ## Which Git revision should this container use? (default: tests-passed)
  version: tests-passed
  ## Maximum upload size (default: 10m)
  upload_size: 20m

I want to know if I can limit the number of upload attempts or the total file size per user per day through that method?