This is part of the Privacy enhancements Microsoft is bringing to Windows 11/10 letting you control every single permission. Let’s get to learn how you can control it.
Disable access to the file system on this device
Windows 11
Enabling an app to have access to the file system allows it to have access to the same files and folders for which you as a user have permissions. The app must request this access, and you can either choose to allow or deny the request.
Windows 10
To allow or prevent the specific app from accessing the File system, follow these steps-
Lets first open Settings > Privacy > File System. Here, you have two ways of doing this. If you keep this enabled, people using this device will be able to choose if their apps have access to all of their files, including their documents, pictures, videos, and local OneDrive Files, by using their settings page. However, if you deny permission, it will prevent apps from access any person’s file This is useful if you don’t have very smart users on your PC, and you can manage it for them. The default option is Allowed. If you want to disable it, click on the Change button, and then turn off the toggle. Remember, when you choose to disable here, it will affect the whole operating system and every user.
Disable app access to File System in Windows 11/10
Windows 11
Assuming you are running Windows 11, press Win+I in combination to open Windows Settings.In the window that opens, navigate to Privacy and security heading under the left side panel.Switch to the right and scroll down to the App Permissions section.Choose the File System heading.Enable or disable File System access.Enable or disable Let apps access your file system.
Windows 10
Assuming you have File System Access enabled for all, everyone can individually choose to disable app access to file system in Windows 10 i.e Document, Image, OneDrive, etc folders, as follows:
Go to Settings > Privacy > File System.Disable the toggle switch under Allows apps to access your file system.
When you enable it, you can control file system access for certain apps individually. This is what I would recommend you to do with apps you do not trust. Every listed app has its own toggle, and you can enable or disable based on your choice. It is possible that you may not see any apps listed, but it’s a good idea to keep a tab on this section once in a file so your files are safe from apps which misuse this.
Disable Access to Pictures, Videos & Documents separately in Windows 10
You can also look at other settings for Picture, Document, and Videos, under Privacy. It will give you a list of apps which they can access, and you can choose to disable them. It is exactly the same as File System, but more granular. You can choose to disable globally or for each of the apps.
Always make smart choices when disabling access to either file system or individual apps. While they give you privacy protection, but sometimes they do need access to deliver the best experience.
What is file system access?
The File System Access API allows apps, particularly web apps to read or save changes directly to files and folders on the user’s device.
How do I stop access to files in Windows 11?
Granting access to your file system might give apps access to personal content that you want to manage. It is for this reason; Microsoft gives you control over the files you share by letting you choose which apps you’ll allow accessing your file system. If you give the app permission but change your mind later, you can turn off that app’s access to your file system. Let us know how you find this feature!