Block certain file extensions on samba Linux
Samba is a free and open-source protocol for server message blocks (SMB) that offers File and print services are provided to clients using various systems.You can share files and folders over a network in Linux by using the samba server if you are using a Samba server in your organization and wish to prevent some file types from being uploaded to a shared directory. In Samba, you can use veto files to prevent certain file types from being opened. It does not allow you to upload mp3, exe, or any other file types. In this In this article, I'll show you how to use a veto file to block specific files in the samba server in Linux.
Open the samba config file and add the veto file to the last line of your shared block.
Users can now upload any type of file except those listed in the veto files section.
ReplyDeleteThat is very interesting; you are a very skilled blogger. I have shared your website in my social networks..!
Informatica Training in Chennai
how if i want just one files type allowed on samba share
ReplyDeleteI am using samba server and shares are mapped in windows. Will veto files restrict from copying files from windows samba share
ReplyDeleteyes, It works with windows also.
Delete