Fellow developers,
I need to hide a specific network folder from the Windows File Explorer that way, that an user is presented a "Forbidden Folder" message when typing/copy/pasting the mentioned folder path to the Windows File Explorer, while at the same time my dotnet-application is able to ShellExecute/Process.Run a file residing in the very same folder. Furthermore, a search out of the Windows File Explorer from the network root folder should also skip this specified folder!
Obviously the user needs file access permissions on the mentioned folder in general - but I want to allow him to access files only from within my dotnet-application (to some files, but not all).
Has anyone of you ever solved the challenge to restrict the Windows File Explorer by a program extension? Or an idea where to start from?
Thx a lot in advance,
Cheers, Rob
What I have tried:
What I came across: might Windows Shell Extensions be a starting point?