I know this can be done because I’ve restricted access on a My Book Live NAS, My Book Duo NAS and a My Cloud NAS. Personally I would go to keep the Public directory/share, but allow setting a restriction on access to it.
It’s is surprisingly easy to. I didn’t really change anything apart from the ACL on /DataVolume/shares/Public …
Connected to nas-mc.
220 Welcome to WD My Cloud
User (nas-mc:(none)): alex
331 Please specify the password.
Password:
230 Login successful.
ftp> cd alex
250 Directory successfully changed.
ftp> cd ..
250 Directory successfully changed.
ftp> cd Public
550 Failed to change directory.
ftp> bye
221 Goodbye.
I’ve not erased Public . . . .
Connected to nas-mc.
220 Welcome to WD My Cloud
User (nas-mc:(none)): myron
331 Please specify the password.
Password:
230 Login successful.
ftp> cd alex
250 Directory successfully changed.
ftp> cd ..
250 Directory successfully changed.
ftp> cd Public
250 Directory successfully changed.
ftp> bye
221 Goodbye.
I’ve not changed anything except the ACL on the Public directory and recursed the changes to the whole directory structure under Public.
I would keep the Public directory but just have one single option which would read something similar to . . .
Restrict access of Public to owner/admin? YES/NO
That’s all that is needed and is stupidly simple to implement. The factory default would be to allow all access to Public and and owner/admin would have to enable the restriction.
See:
http://community.wd.com/t5/WD-My-Cloud/BE-CAREFUL-PUBLIC-FOLDER-amp-PHOTOS/m-p/756544#M16621