LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Samba Question (https://www.linuxquestions.org/questions/suse-opensuse-60/samba-question-677062/)

thetakan 10-17-2008 07:24 AM

Samba Question
 
How can I stop usewrs to copy files on server other then .doc, .xls & .ppt?

I want to say that is that any way from which I can stop users to copy files using perticular extension?

If yes........................

Can I do it per user?


Please help.................

jschiwal 10-18-2008 12:56 AM

Look in the smb.conf manpage and search for "veto files".
I think you would use "veto files = /*.mp3/*.avi/*.mov/" to block mp3, avi and mov files. A person could get around it by removing the extension.


Here is the Samba 3 Howto & Reference Guide.
http://www.samba.org/samba/docs/Samb...Collection.pdf

Alway run "testparm" after making manual edits to smb.conf. It with point out any errors in your configuration file.


All times are GMT -5. The time now is 04:31 AM.