4 ms·
Browsers can't do that. At least not in a general enough way, since it's Windows that executes the files. Windows could stop trusting code in folders with some
by marcosdumay 11y ago
Browsers can't do that. At least not in a general enough way, since it's Windows that executes the files.
Windows could stop trusting code in folders with some flag. That would be much more useful.
- cornholio 11y agoSuch flag already exists: http://www.howtogeek.com/70012/what-causes-the-file-downloaded-from-the-internet-warning-and-how-can-i-easily-remove-it/ http://www.howtogeek.com/70012/what-causes-the-file-download... It's a simple fix for Windows to disable local folder DLL loading based on the Zone.Identifier ADS. There's no usecase where an EXE downloaded from the internet should load a DLL from it's current folder. An alternate quick fix for the browser to redirect all DLL/SYS/OCX/Whetever to a DLLs folder inside the Downloads directory, and keep the EXEs in the main folder as before, so as not to confuse the users. Downloading DLLs is so rare that the extra hoop is acceptable.