files-community / Files

A modern file manager that helps users organize their files and folders.
https://files.community
MIT License
34.35k stars 2.19k forks source link

Files doesn't follow disabled drive via group policy #8279

Closed Josh65-2201 closed 2 years ago

Josh65-2201 commented 2 years ago

Description

I have my C: drive disabled on a user account. File exploer will show an error that it been restriced but files will allow navigation and file accses.

Steps To Reproduce

No response

Expected behavior

Should show an access denied error

Files Version

2.1.13.0

Windows Version

10.0.19043.1503

Relevant Assets/Logs

debug_fulltrust.log debug.log

gave92 commented 2 years ago

So much for windows security lol

yaira2 commented 2 years ago

@Josh-65 we don't plan to add artificial limitations for accessing the file system, the only time we will prevent access is if Windows returns an unauthorized exception. Can you open an issue on the Feedback Hub regarding the group policy?

Josh65-2201 commented 2 years ago

My feedback hub doesnt work. Could you add it? please.

Josh65-2201 commented 2 years ago

Also since Microsoft not really good at accepting feedback most of the time, I feel an exception should be made in this case. if it doesnt get resolved by them.

gave92 commented 2 years ago

Josh what happens if you try to navigate to that drive with that user account using CMD? I think that group policy may really be intended only for explorer. Could you try changing drive's security properties instead?

Josh65-2201 commented 2 years ago

I have tried that before an ended up destroying my windows install. Blocking it with security permistion stops the account logging in and other issues with programs. That what the group policy is designed for i belive to block users from opening it so they carnt mess with the files but allow the system to log in, open programs from it using shortcuts and other things.

According to windows doc on it. they stop file exploer, run window, startmenu and open dialogs https://docs.microsoft.com/en-us/troubleshoot/windows-client/group-policy/using-group-policy-objects-hide-specified-drives#:~:text=These%20settings%20remove%20the%20icons%20representing%20the%20selected%20hard%20disks%20from%20My%20Computer%2C%20Windows%20Explorer%2C%20and%20My%20Network%20Places.%20Also%2C%20these%20drives%20do%20not%20appear%20in%20the%20Open%20dialog%20box%20of%20any%20programs.