Article 4VK83 How to only allow certain file extension on samba?

How to only allow certain file extension on samba?

by
WeatherReport
from LinuxQuestions.org on (#4VK83)
How to make samba only allowing certain file extension to put on for example i will only allow .doc, .pdf, .exe and it will block everything else.

I know we can use veto files, but veto files work with blacklisting certain file extenstion i found it not effective lets say we only allow 5 file extension but will block every other files extension, then i have to write a long list of other file extension.

So, I want to know if there is any whitelisting command so it will only allow certain file extension but will block everything else.latest?d=yIl2AUoC8zA latest?i=ljEdwM3hZws:qPRQotD1XKo:F7zBnMy latest?i=ljEdwM3hZws:qPRQotD1XKo:V_sGLiP latest?d=qj6IDK7rITs latest?i=ljEdwM3hZws:qPRQotD1XKo:gIN9vFwljEdwM3hZws
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments