Gokapi icon indicating copy to clipboard operation
Gokapi copied to clipboard

Feature Request: Restrict Expiry Time and Download Limit to Predefined Values

Open i0rt opened this issue 7 months ago • 1 comments

We would like to request the ability to restrict the values that users can select for expiry time and download limit when uploading a file.

Specifically:

  • Users should only be able to choose from a predefined list or range of allowed values for both settings.
  • It should also be configurable whether users are allowed to disable the expiry time or download limit altogether.

Without these restrictions, there's a risk that some users may set extremely high values (or leave them unlimited) which could lead to misuse or resource exhaustion.

i0rt avatar Jun 05 '25 14:06 i0rt

Thanks for the feedback! That does sound useful, unfortunately it would require quite a lot of changes. I will keep this open for now, but cannot give an ETA when it will be implemented. If anyone creates a PR for this, I would be happy to merge it.

Forceu avatar Jun 10 '25 09:06 Forceu