arvidn / libtorrent

an efficient feature complete C++ bittorrent implementation

Home Page:http://libtorrent.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add MOTW (i.e. Mark-of-the-web or Zone.Identifier) to all downloaded files on Windows

Neustradamus opened this issue · comments

From @microelectro for @qbittorrent here: qbittorrent/qBittorrent#19648.
@Chocobo1 has requested: "to benefit more torrent clients, please also forward this issue to libtorrent".
@Chocobo1 has done a PR for qBittorrent: qbittorrent/qBittorrent#19675.


This is a security enhancement.

On Windows, please add an option to create all downloaded files with the Mark-Of-The-Web, a.k.a. NTFS Zone.Identifier. Like the feature recently added to 7-zip. Without it, SmartScreen can't warn of dangerous executables coming from the Internet.

qBT already has a file extension filter, but at least archive files should be marked with MOTW since qBT can't filter files inside archives.

Ofc, the feature can be off by default.