Forum Moderators: phranque

Message Too Old, No Replies

How do you protect your site from malware, zero-day exploits, etc?

         

Man1056

10:07 am on Nov 7, 2015 (gmt 0)

10+ Year Member



A systems administrator here. I've been using we application firewalls to protect websites, but I see a lot of webmasters still preferring to rely on plugins, etc. to keep their sites secure.

I feel wide spread attacks such as the recent GuruIncSite infection attacks are best blocked through a firewall.

What's your opinion? Which tools do you use?

lammert

12:49 pm on Nov 7, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Many attacks can be prevented with proper use of the security features of the operating system running on the web server. Many CMS and blog solutions advice you to give write access to the script files and directories of those packages. This makes it easier to install updates and plugins through the web interface, but the downside is that attacks coming through the web interface also have potential access to those files.

On my Linux server all PHP and other script files are in directories owned by a third user (not root and not the user running the Apache or MySQL processes) and both the directories and script files are set to read only at the operating system level. Updating the software takes a little bit more actions as the files first have to be unlocked, but that is easily compensated by peace of mind that no attack over HTTP will be able to touch the script files.

martinibuster

3:21 pm on Nov 7, 2015 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Frequent updates. I also try to avoid plugins & software that have a history of exploit problems. Some CMS' get a bad rap but most of the time the reason those installations get hacked is because they weren't up to date- user error.