Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: kryptos on June 08, 2009, 04:50:59 AM
-
Hi all,
We have an SME 7.4 as fileserver.Is it possible to prevent users from storing unwanted files(e.g mp3, avi) can this be possible?
regards,
Rocel
-
You could audit the system, or create a script to search and delete certain files, would that be enough?
-
hi,
Im not very knowledgeable yet with scripting. I thought of something that it can be done though smb templates. Anyways thanks for the heads up. I try to search more.
Regards,
Rocel
-
you could just search for the extensions:
updateb
locate *.mp3
O create the script , that will run everyday and send the files to /dev/null or somewhere else.
If the script will do, I can help with that.
-
Im not very knowledgeable yet with scripting. I thought of something that it can be done though smb templates. Anyways thanks for the heads up. I try to search more.
You might be looking for the veto files directive: http://marc.info/?l=samba&m=121698864028014&w=2
Here is more on it (just above half way down the page):
http://oreilly.com/catalog/samba/chapter/book/ch05_02.html
Unfortunately the references in the samba manuals lead to dead pages: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html