restricting file types from a SMB share

Byron Clark byron at
Wed Jan 9 20:55:30 MST 2008

On Wed, Jan 09, 2008 at 07:19:54PM -0700, Wade Preston Shearer wrote:
> Is it possible to restrict certain file types (files with certain  
> extensions) from being copied to a SMB share?

The "veto files" share parameter in smb.conf is what you're looking for.
Adding the following line to your share definition will make it
impossible to read or write *.doc and *.xls files.  See smb.conf(5) for
more information.

veto files = /*.doc/*.xls/

Byron Clark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : 

More information about the PLUG mailing list