NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
GHY75
Jul 01, 2019Aspirant
Restrict Access
Hello ! I would like to restrict access to my network for several computers. But the issue is we share the same IP Adress... How can I resolve this issue with my Netgear ReadyNAS ? I have trie...
StephenB
Jul 03, 2019Guru - Experienced User
You are talking about the HOSTS file for a share? That is, you are clicking on the share settings wheel, then choose SMB. After that you are selecting Network Access and then HOSTS?
GHY75 wrote:
because I want to access to the NAS I click Apply and Ok then I don't have access to the network
Can you clarify "I don't have access to the network"?
Are you saying you don't have access to the NAS share from the PC that is using 172.16.24.21? Or something else?
In general: I think a better way to restrict access is to create NAS user accounts with passwords, and then disable anonymous and everyone access to the shares. You can then set the PCs up to automatically use the appropriate NAS user account when they access the NAS.
GHY75
Jul 03, 2019Aspirant
"You are talking about the HOSTS file for a share? That is, you are clicking on the share settings wheel, then choose SMB. After that you are selecting Network Access and then HOSTS?" Yes
"Can you clarify "I don't have access to the network"? " When I modify hosts with my IP and try to connect to READYNAS BACK UP from the PC 172.16.24.21 it doesn't work. The access is deny...
The issue with passwords is my programs (batch) bug thus I prefer to stop access to READYNAS from the IP whether than from a password
- StephenBJul 03, 2019Guru - Experienced User
GHY75 wrote:
The issue with passwords is my programs (batch)
You can save the password as part of the windows credential, so it would be automatically applied whenever you access the NAS using SMB from that PC.
That should resolve your batch program issue.
FWIW, I have an application server (windows 10) that does this, and there are several batch scripts that I run regularly from that server.
- GHY75Jul 04, 2019Aspirant
I don't like to write password inside code...
I don't undersand why Hosts doesn't work..
Do you have any idea ?
- StephenBJul 04, 2019Guru - Experienced User
GHY75 wrote:
I don't like to write password inside code...
Me either, and I didn't propose that you do that. I suggested adding a user credential in the windows credential manager. Your code will then work without modification.
GHY75 wrote:I don't undersand why Hosts doesn't work..
See the note on page 76 of the user documentation (http://www.downloads.netgear.com/files/GDC/READYNAS-100/READYNAS_OS_6_SM_EN.pdf ): Note: For SMB, the access rights for each host depend on the access rights of the user. So you still need to configure user-level access.
Another way of saying this: If your IP address isn't in HOSTS then you will be denied access. But putting your IP address into HOSTS doesn't mean you will be granted access.
Are you depending on anonymous access now? If so, is that something you changed when you added the IP into HOSTS?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!