Recipe 23.10. Creating Public Shares for Users
23.10.1 Problem
You have several project
teams or departments that would like to share files, so you would
like to create some Samba shares for them to use.
23.10.2 Solution
Simply create the shares, then use Samba's access
controls to control access to the shares:
[qa-group]
comment = qa group's shared files
path = /var/share/qagroup
valid users = helix patti devdas @qausers
browseable = yes
writable = yes
23.10.3 Discussion
Users who are authorized to access the share can freely upload and
download documents. You can set these shares to be non-browseable
with browseable = no, so that only valid users
can see the shares. Extremely sensitive documents should not be on a
Samba share; it's better to use OpenSSH or
rsync-over-ssh (see
Chapters 16 and 17).
23.10.4 See Also
|