How to make the drive visible only to specific users when mounting via a Windows Service
Author: lanopk-openboxlabCreated Jul 2, 2026Updated Jul 3, 2026
Question
I want to restrict the mounting of the Z: drive in a Windows service program to only specific users, but even when I configure the SecurityDescriptor based on a specific user's SID, it remains visible to all users. How should I handle this?
Do I need to create separate processes for each user? Or is there another way? I am developing this based on .dotnet.
Thank you
Source: winfsp/winfsp