Is there any way to prevent files larger than a specific size to get uploaded?
46859
Change the maximum upload file size
13095
Remove selected file(s) before upload with Javascript
148075
Automatically resize uploaded images
117964
Maximum number of files being uploaded by input type file
328
Get file size before uploading
104985
How to create a file with a given size in Linux?
33879
Increase Size Limit of Media Files Wordpress 4.1
104661
How can I check file size in Python?
34613
How do I decrease the size of the page file?
108029
How can javascript upload a blob?
145670
Why does "Size on disk" vary when "Size" does not with the same set of files?
49724
Wordpress media upload limit?
25501
Maximum size of attachments in an outgoing email?
48133
Files greater than 1 GB and older than 6 months
46367
How can I only allow certain filetypes on upload in php?
70513
How do I make a file NOT modifiable?
31572
LWC: File size restriction on js file