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

Restrict access to \\wsl$

$
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 2818

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>