Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: haliparotin on October 28, 2015, 02:00:27 AM

Title: File Screening Management
Post by: haliparotin on October 28, 2015, 02:00:27 AM
hi i want to ask how to make a file screening management on my ibay or samba? they have a module to need to install or configuration? i want to filter and avoid putting music or video on my file shared.

Thank you..
Title: Re: File Screening Management
Post by: guest22 on October 28, 2015, 09:21:31 AM
So you want to be able to prevent users from uploading specific file types to an iBay?
Title: Re: File Screening Management
Post by: haliparotin on October 29, 2015, 01:22:06 AM
Actually YES.. my storage is limit only for data saving.
Title: Re: File Screening Management
Post by: Stefano on October 29, 2015, 10:55:45 AM
you have 2 possible approaches:
1) use the "veto files" directive in smb.conf (see http://forums.contribs.org/index.php/topic,51791.msg263944.html#msg263944 and search for "samba veto files" with google)
2) create a cron job that runs everytime you need, lists the unwanted files and optionally deletes them.. in this way you can "educate" your users.. I guess you can find many examples out there
Title: Re: File Screening Management
Post by: guest22 on October 29, 2015, 10:56:54 AM
and... There are 3 ways users can fill up the storage.


Home directory
Email
Uploading to Ibay
Title: Re: File Screening Management
Post by: Stefano on October 29, 2015, 11:11:06 AM
well.. OP ask for "music and video" so I guess we're talking about homedir and shares..

in any case, a good quota management can help ;-)
Title: Re: File Screening Management
Post by: haliparotin on October 30, 2015, 09:32:18 AM
Yes.. music, video and application files (.exe or .bat files)

only location of homedir and the shares only.

Title: Re: File Screening Management
Post by: Stefano on October 30, 2015, 10:22:28 AM
You already had the right solutions, just choose an approach and try it