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
-
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..
-
So you want to be able to prevent users from uploading specific file types to an iBay?
-
Actually YES.. my storage is limit only for data saving.
-
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
-
and... There are 3 ways users can fill up the storage.
Home directory
Email
Uploading to Ibay
-
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 ;-)
-
Yes.. music, video and application files (.exe or .bat files)
only location of homedir and the shares only.
-
You already had the right solutions, just choose an approach and try it