Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Best way to lock down a directory to network users

Featured Replies

What is the best way to lockout access to a new directory on my unraid Pro server for other users on the network?

Set it as private and disallow the other users.

You can also set the samba share to hidden so that only the users hay know the path can try to access it. Combine that with the above should be a great way to "lock" a directory.

 

Sent from my SGH-I727R using Tapatalk 2

  • Author

Set it as private and disallow the other users.

 

Thanks for the reply guys.

  • Author

Set it as private and disallow the other users.

 

How do I go about setting it to private?  Is that in the root GUI?

 

Thanks

Setting is in the share properties for that share, lower section....

 

Myk

 

  • 1 year later...

Quick question, even if I set it to private, I can still go and open disk1 and there it is.

You can still access the folder that way, bypassing the access control to the share.

I tried making it hidden by using the properties option (accessing the drive via Windows) but it didn't work.

Can you hide it on the drive using unraid?

The lock down is for the user shares only. I have mine set as private and a guest account that is set to read only on some shares, say music for example, but no access to pictures. My disks are hidden as from what I understand you can't setup access writes and reads to the disks. If I need to access the individual disks I just temporarily unhide them. To hide the disks just click on the disk1 for example in the webgui and set the export option in the smb security to Yes hidden or no.

As best I can tell, based on the webgui and the un-official manual, disk shares should also be "private" settable.  If it is not actually working as expected then that is a bug.  I'd suggest retrying to set as private and then reboot (or restart samba) to confirm it is not working as intended and then submit a defect report.

Actually jumperalex is correct, Sorry I didn't realise I had all my disks set to no access for the guest account, but just to make sure I have been into disk1 and as the guest user and it says it can't find it even though it shows the disk1 as a folder on my mac, and this is only because I have the disk1 export set to yes.

This is probably more complicate because I use the the Simplefeatures plugin.

What I have done so far using the Simplefeatures interface (http://tower/main'>http://tower/main):

- went onto shares

- clicked on the "work files" share

- under SMB security Settings I selected

                - Export No

                - Security (Private)

- under User access I made sure that the login I use is set to No Access

Now if I click on TOWER under network in Window explorer, I cannot see "work files" anymore. But I can still see it if I expand Tower and select drive1 to drive14.

How do I hide the drives? I cannot see any way to do it through simplefeatures, could you take me through?

Also through when I go to the GUI and click on Shares, I can click on the explorer icon next to the share and still access those files, any way to stop that? Can I make the access to http://tower passworded?

 

Not sure with simple features. When I went to v5.05 I went straight to Dynamix as I read somewhere that simple features was no longer supported. In Dynamix or unraid standard WebGui you click the disk1, disk2 etc name in the main menu and the change the smb security settings.

I'm surprised many users have not chimed in and told you to upgrade to v5.05 stable as you shouldn't be running a rc version as they had bugs.

Good point, I will upgrade to Dynamix, I run v5.x, not sure exactly which version of it. Will check that as well.

Upgraded to Dynamix, I was on 5.0 so I am not upgrading to 5.5.

Hiding the disks worked, I used export YES - Hidden so I can still reach the drives if I need to, just not visible on the network anymore...

That's good then. If your not on a release candidate that's fine but if you are I would seriously consider upgrading to the stable v5.05. If you ever have problems the first thing you will be told to do is upgrade.

Upgraded to 5.05, but messed up, unraid was not booting anymore.

Copied all the data from the key, started from scratch with a fresh install, then copied the config files over, re-linked the drives and I'm back in business (with some sweat and curses for good measure).

Installed Dinamix, working fine, including the email reports.

Managed to hide the drives, but the shares are still accessible if I go to the each individual drive, so I am not sure if it really is supposed to be working that way.

Anyway I have "hidden" the drives, although they are still accessible via the Dinamix GUI. I was wondering if there is a way to block with password access the dinamix web-address...

I was wondering if there is a way to block with password access the dinamix web-address...

Set a root password
  • 1 month later...

Thanks, that was perfect

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.