{
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page

    use esmith::NetworksDB;
    my $ndb = esmith::NetworksDB->open_ro;
    my @access = $ndb->local_access_spec;
    "hosts allow = @access";
}
