Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I currently have a number of read-only directories shared for the public. There are a number of other shares that only I have access to. Hence when other people try to access the shares, they are asked for a username/password.

I now want to hide these shares to everyone on the network, except those with valid login credentials (aka: me). Currently my security is set to share (that everyone else can access the public shares). I’ve followed a lot of tutorials, but nothing helps. Here is what I’ve tried:

hide unreadable = yes (still shows for unauthorized users)
browseable = no (hides it, but also for authorized users)
share|improve this question

I recently tried to do something similar and also tried the browseable flag.

But as it hides it for everyone, it wasn't a good solution.

I was sharing these folders on a linux host (Open Media Vault which is a NAS oriented distribution). I finally used an option to give access to samba users to "Home folders".

If i'm not wrong, each user will only see it's own Home folder.

PS: When i did so, i had to manually create each Home folders for each user.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .