Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.