Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
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... –  RobM 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

2 Answers 2

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).

share|improve this answer

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

yourdrivenameshare$

hope this will help you.

share|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

 
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.