[Samba] Giving access only to a particular share from an IP (hosts allow)?

Andreas Schneider anschneider at suse.de
Thu Dec 20 13:29:37 GMT 2007


Jari Aalto wrote:
> [Please keep CC]
> 
> There are options like these:
> 
>     [global]
>     hosts allow =             \
>         127.0.0.0/8           \
>         192.168.1.0/29
> 
>     hosts deny  = ALL
> 
> If I put the IP to the global section (hosts allow), that IP would be
> allowed to access all shares.
> 
> I'd like an outside (internet) IP to be allowed to access only a certain
> share and not others. Is this kind of finer control possible?

Take a look at:

http://wiki.samba.org/index.php/1.4_Samba_Security

> 
> Jari

	-- andreas


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba/attachments/20071220/ee288a12/signature.bin


More information about the samba mailing list