Gokapi
Gokapi copied to clipboard
Feature Request: Restrict Expiry Time and Download Limit to Predefined Values
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.
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.