Virus is annoying program that can destroy your data. If you are using linux, almost no virus can affect your system but it still can destroy your data if you are sharing your files over network. Some virus are infecting files lies on the network. Your linux maybe safe but other computer that accessing your linux can be infected too.
So having method to protect your file server is a must. After doing some search on google i found that there is an option in samba that prevent some files with certain names going in/out. It is veto files. Below is example how to use veto files. Place code below in [globals] section or in share point section to make it work only in certain share point.
veto files = /*.scr/*.eml/thumbs.com/
By using code above, Samba won’t allow any files named thumbs.com and ending with .scr and .eml copied into the server and showed to other user. You can use regex too. You can add many conditions separated by slash (/).
Maybe you like this post too :
[Tutorial] Difference Between Web Server and Application Server
Recent Top Story :
Recent Search :
Posted in Tutorial | Comments (5)

November 8th, 2010 at 5:28 pm
am not really sure if best practices have emerged around things like that, but I am sure that your great job is clearly identified. I was wondering if you offer any subscription to your RSS feeds as I would be very interested and can?t find any link to subscribe here
Reply
baskoro Reply:
December 8th, 2010 at 1:24 am
You can find this site’s feed at virusandlinux.baskoroadi.web.id/feed
Reply
November 11th, 2010 at 5:02 pm
Let me start by saying nice post. Im not sure if it has been talked about, but when using Chrome I can never get the entire site to load without refreshing many times. Could just be my computer. Thanks.
Reply
baskoro Reply:
December 8th, 2010 at 1:21 am
Maybe there’s some problem with your internet connection or chrome configuration.if you used firefox or another browser,is it okay?
Reply
April 2nd, 2011 at 4:12 am
hello your website is very cool and inspiration to me
Reply