Koozali.org: home of the SME Server

File Screening Management

Offline haliparotin

  • ****
  • 103
  • +0/-0
File Screening Management
« 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..

guest22

Re: File Screening Management
« Reply #1 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?

Offline haliparotin

  • ****
  • 103
  • +0/-0
Re: File Screening Management
« Reply #2 on: October 29, 2015, 01:22:06 AM »
Actually YES.. my storage is limit only for data saving.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: File Screening Management
« Reply #3 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

guest22

Re: File Screening Management
« Reply #4 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

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: File Screening Management
« Reply #5 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 ;-)

Offline haliparotin

  • ****
  • 103
  • +0/-0
Re: File Screening Management
« Reply #6 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.


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: File Screening Management
« Reply #7 on: October 30, 2015, 10:22:28 AM »
You already had the right solutions, just choose an approach and try it