D
D
d222019-05-29 16:39:10
Samba
d22, 2019-05-29 16:39:10

How to disable certain types of files on a samba server?

How on the samba server to prohibit writing certain types of files (or better to prohibit everything except the necessary ones)? Googled but did not find whether it is possible to implement on samba an analogue of the file blocking filter as in windows (it is very convenient there, you write forbidden permissions, and allowed ones). Really on a samba it is not realizable?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Zhurkin, 2019-05-29
@icCE

If nothing has changed then

delete veto files = yes
veto files = /*.zip/*.rar/*.7z/*.mp3/*.ogg/*.avi/*.mp4/*

delete veto files = yes tells smb to delete files of the listed formats.
I think you will find more by reading the documentation.
https://www.samba.org/samba/docs/using_samba/ch08.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question