Does anybody know how to add a File Type Restriction in a Windows Share on FreeNAS

In other words, prevent a particular file extension like .exe or .bat is to be copied in to the share.

link|improve this question
feedback

1 Answer

In samba, you can use veto files to prevent reading/writing some extensions. For example, you can use:

Veto files = /*.exe/*.com/*.dll/

to restrict access to exe, com, and dll files.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.