Ransomware encryption is growing and to counter the threat, Microsoft introduced Controlled Folders Access (CFA) to Windows 10. Basically it blocks access by any non-MS apps or any apps you dont whitelist to any partitions or folders you nominate
But the files on a NAS dont have a similar...