LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   how to Allow Specific File types on Samba Share ? (https://www.linuxquestions.org/questions/linux-server-73/how-to-allow-specific-file-types-on-samba-share-4175443220/)

keysys 12-28-2012 02:15 AM

how to Allow Specific File types on Samba Share ?
 
Hi,

As My Company has Linux File server on placed my windows enviroment.

For More Security reason, i need to know that is there any option to allow my samba share to copy / create specific File Type as veto File is doing is deny the specific types

any suggestions will be appreciated

Thank You,

allend 12-28-2012 07:58 PM

I am not aware of any options within Samba that will do this.

Perhaps you could achieve this by using 'inotify' to watch for the creation of files in the share and test using 'file' if they are an allowed file type. If the file was not an allowed type it could be immediately deleted.


All times are GMT -5. The time now is 08:18 AM.