Long Live Open Source Software !!

25 September

[Tutorial]Protect Your Samba Server From Virus

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 (/).

Share this post here:
  • Facebook
  • Twitter
  • Google Bookmarks
  • Digg
  • del.icio.us

Maybe you like this post too : [Tutorial] Difference Between Web Server and Application Server

Recent Top Story :

Recent Search :

5 Responses to “[Tutorial]Protect Your Samba Server From Virus”

  1. Jeffry Michand Says:

    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:

    You can find this site’s feed at virusandlinux.baskoroadi.web.id/feed

    Reply

  2. Jeffry Michand Says:

    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:

    Maybe there’s some problem with your internet connection or chrome configuration.if you used firefox or another browser,is it okay?

    Reply

  3. Jeffry Michand Says:

    hello your website is very cool and inspiration to me

    Reply

Leave a Reply