Is there a way to mount a network drive and keep it hidden or non-browsable..?

I want to mount a NAS drive to store our daily backups on, but I also want to limit access to this drive in some way so that existing files on it can't be browsed or deleted.

Basically, in the event of the server being compromised, I'd like to limit what an attacker could do to the backups.

  • 4
    You secure something on a network by limiting access to it with permissions, not by playing games with "hiding" it in the list of mounted drives/browsable network resources... – Rob Moir Jun 29 '11 at 15:25
  • 1
    If a hacker is good enough to gain elevated privileges to your computer, I'm sure he'll be able to find a hidden volume – Safado Jun 29 '11 at 16:28

Just noticed the tags! So its a Windows machine you are mounting this backup drive on?, use the NAS to increase the security.

I think getting the permissions right is going to be the most important aspect to securing a samba share. You could force a particular user over that share (Samba MAN page), then lock down that users permissions over those files. Also make sure the share is not browsable (Samba MAN page).

| improve this answer | |

If I recall good, you can do that adding $ somewhere, on the sharename I think.


hope this will help you.

| improve this answer | |
  • This just means yourdrivenameshare$ will not show up in the list of shares by default. If you have permission and know the name, you can still access it. And you can usually find out the names of hidden shares by doing a net view \\servername /ALL. – sgmoore Jun 29 '11 at 16:04
  • did forget the \\servername /ALL. Well not every user know this cmd, so it can help at some point waiting for a real, secure solution. ;) – Anarko_Bizounours Jun 30 '11 at 6:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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