There are plenty of articles on the web about how to harden/secure WordPress, which seems to ship with a lot of exposed vulnerabilities. I’m curious how much of that also applies to ClassicPress and what the “best practices” would be?
Okay, so first of all, most of the websites I run are personal ones for myself or friends/family, but I do have some I manage for small businesses and organizations. For the most part the people I run these for aren’t very tech savvy and don’t want to (or can’t) afford to spend a lot on their websites (if they could they wouldn’t be coming to me to do it for them and none of them consider their websites “mission critical”).
Most of these sites have only a couple users (including me) and are not open to registrations, which locks out a LOT of the potential security and spam problems. But a couple of them DO have open registrations.
Anyway, typically when I set up a new WordPress installation I will:
- Add code to the theme functions or install a plugin to enforce strong passwords
- Add code to hide WordPress version
- Change the default Admin username
- Disable File Editing
- Disable PHP execution in the “Uploads” folder
- Limit login attempts
- Change WP database prefix
- Disable XML-RPC
- Turn off Link Notifications (pingbacks/tracebacks)
- Install “Really Simple Security” (formerly Really Simple SSL)
- Install “Stop Spammers” plugin
- Install “Stop User Enumeration” plugin
- Install “Simple History” plugin
- Install “WPS Hide Login” plugin
- Install “Updraft Plus” backups plugin
- Install “Two-Factor” plugin (by “WordPress.org Contributors”)
Those would all be the free versions of those plugins, and that combo seems to do a pretty decent job, along with some additional tweaks to .htaccess files.
At least one of my people has a host that does daily backups of their site. For the others, which have very limited activity, I do a monthly manual backup on the site with Updraft Plus and then download and archive those files to an external drive as well.
It looks like “Stop User Enumeration,” “Simple History,” and “Two-Factor” plugins are “incompatible” and cannot be installed. There are, of course, other plugins that do the same thing that aren’t listed as incompatible, but I’ve never used those before. I know some of this could be hard-coded into the theme or a custom plugin, but I’d rather use a popular plugin I know is being updated.
I can’t seem to find a nice security guide like the ones for WordPress. Just how much “hardening” does ClassicPress need? This is one of the things that’s making me apprehensive to switch some of the sites I run over to ClassicPress.