Replies: 1 comment
|
not a built-in feature because blocking uploads based on file extension does not offer any real security benefits; such a restriction can easily be avoided by simply renaming the file to something else, and most software will ignore the file extension entirely, and instead look at the magic number to determine what type of file it is furthermore there are many polyglot files which will break any such filtering, for example the poc||gtfo zines;
if you really want to, you can implement this functionality as an eventhook (plugin) https://github.com/9001/copyparty/tree/hovudstraum/bin/hooks but know that this is probably a mistake |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is there currently any way to specify permitted file extensions for uploads by non-logged-in users? So that a user that isn't logged in can upload files, but only if the file extension is in the list.
I checked the Issues, both closed and open, and looked through the main readme as well as some of what's in the docs directory.
All reactions