Website Security Issue

I have few question related to Website Security.

I have a lot of website but i have few problems related to website security.

How i can protect my website from viruses etc.

My website upload using FTP.

There is no virus but i fear that is it possible in future, so i want to prevent this thing. :rolleyes:

  1. Keep your local system up to date using latest anti-virus, anti-trojan, anti-rootkits softwares. Since viruses may come from your local machine to server when you do FTP.

  2. Avoid assigning 777 permissions to files and folders.

  3. Always upgrade to latest versions available for any third party installed scripts or components.

  4. Install anit-virus software in your server like clamAV. For firwall CSF is a good option.

  1. Use sFTP to upload to your host.
  2. Find a host that has good security.
  3. Make sure your scripts are secure.

You should enable suPHP and suhosin that will protect your sites from various php vulnerable codes to be executed on the server. Also, it is always recommend to have third party firewall like csf or apf installed on the server. Also, you can disable few php function to be executed on the server like exec () etc etc which could cause to get access to your php codes. There are many aspects can be considered in order to secure your server which is not limited to. :slight_smile: