Re:The Native File System API allows web apps to save direct...
by yjftsjthsd-h on Wednesday September 09, 2020 @10:33AM
(#24421433)
A decent number of linux filesystems do support extended attributes, which is how I assume you'd do this (actually, looking at https://en.wikipedia.org/wiki/Extended_file_attributes a lot of OSs support xattrs), but I'm not aware of any browsers using them to mark downloads.
Re:The Native File System API allows web apps to save direct...
by vlovich123 on Thursday September 10, 2020 @03:26PM
(#24435649)
I'm not aware of any browsers that don't mark files downloaded from the web as such.
Re:The Native File System API allows web apps to save direct...
by BrandoElFollito on Wednesday September 09, 2020 @09:35AM
(#24420818)
OK thanks - so this is a NTFS feature, meaning that if the file is stored on an non-NTFS partition, or sent further that "flag" is cancelled.
File Quarantine on OSX:
> https://support.apple.com/en-us/HT201940
Alternate data stream on Windows:
> https://www.howtogeek.com/70012/what-causes-the-file-downloa...
I wouldn't be surprised if Linux had it but I haven't used desktop Linux in a long time so I don't know what to search for, but generally having browsers annotate their file streams isn't an uncommon thing to support for filesystems & browsers.