Samba Server   «Prev 

Samba Security Settings

1) [global], 2) host allow = 192.168.0, 3) hosts deny =.evil.com, 4) security=share

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