Samba Security Settings
1) [global], 2) host allow = 192.168.0, 3) hosts deny =.evil.com, 4) security=share
- This marks the start of the global configuration section
- This line instructs Samba to allow access from all host whose IP starts with 192.168.0
- This line instructs Samba to disallow any host in the evil.com domain
- With this setting, Samba will expect a password from SMB clients before giving them access to any share