Hide SMB Share

Hello everybody

A customer, for whom I have set up a TrueNAS Scale installation (still in testing mode, updated yesterday to the current release) very urgently wants to hide certain directories from ordinary users. I would have given up long ago on the issue and decided that the users not being able to access the directory would be enough. I have found repeatedly two keywords “Enable Access Based Share Enumeration” and “Enable Access Based Enumeration” but I can’t find where to set these option. Also, I am unsure of the steps after enabling them. Is it enough just to give RW-Permissions to the Group to whom the folder belongs or are there additional steps I need to follow?

Yours sincerely
Stefan