Can someone tell me how to prevent the exe file from being uploaded to the website even if the exe file is inside the zip file (the exe file is in a new folder and the new folder is then zipped and downloaded)?
Allow users to download the file (if it is ZIP) and perform server-side verification by unpacking the archive and evaluating its contents.
Short answer: you cannot. Pedantic answer: do not upload files to users.
: ? ? . , , .
: - -.- ASP.NET , - , , .- Shell.Execute . Duh.
? .
Source: https://habr.com/ru/post/1744898/More articles:Запрос MTOM/ответ без MTOM - javaHow can I open the Objective-C function for JavaScript using WebKit on Mac OS X? - objective-cLayout of object and interface - javaClass; Struct; Explain the confusion, which is better? - c #C ++ static int in class - compile-time error - c ++Can I restart my phone with Android SDK or NDK? - androidPreliminary wording of the smart pointer class - c ++How to avoid MissingMethodException? - .netSilverlight Listbox fires MouseRightButtonDown, but not MouseLeftButtonDown - eventsReverse engineer a.pyo python file - pythonAll Articles