Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2795

Restrict WSL$ access

$
0
0

When mounting a filesystem in WSL2, is it always accessible from the host using \\WSL$ or \\wsl.localhost\?

I would like to mount a luks-encrypted filesystem inside a WSL2 environment and keep it protected from outside access, ideally by hiding this mount completely.

I read about options to completely disable the file sharing features, but I need this feature in other use cases, so I need something more fine-granular, like the mount options mount --make-*.


Viewing all articles
Browse latest Browse all 2795

Trending Articles