2 ms·
Current operating systems allow the program to directly access files, which is the way they've worked historically. This means that if the program is compromis
by mikewarot 4y ago
Current operating systems allow the program to directly access files, which is the way they've worked historically. This means that if the program is compromised, all the files the user is allowed to access on the system are at risk.
A better way to deal with this is to use an operating system that doesn't trust applications with access to files by default, and instead uses it's own dialogs to allow the user to select files for access, and only give capabilities/handles to those files to the application.