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

Jari Aalto jari.aalto at cante.net
Wed Dec 19 18:54:41 GMT 2007


[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?

Jari
-- 
Welcome to FOSS revolution: we fix and modify until it shines



More information about the samba mailing list