
Posted in
June 12, 2018
Taking care of your website's security once and then never revisiting it again is like locking the door to your house, and then building an entire new half of your house and leaving that side open to the air. It sounds ridiculous, but that's exactly what you're doing if you fail to stay on top of security.
It's also critical to audit your security periodically to see if any new flaws have developed. This is especially important if you do custom code because you won't get any official security notice about that.
Most people do #1 on an ongoing basis. Fewer people follow up with #2, though, because it costs a fair bit of money and can end up seeming pointless (if you get a report that says your site is fine, it almost seems like the specialist didn't do anything). But it's important to do it so you can be assured everything really is fine. Think of it as an insurance policy: You're paying for peace of mind. Because if a breach does happen, it could destroy your business.
You should also track which sections of code got reviewed and when, so you know when things are up to date. How often you need to test depends on a number of things, including how popular your site is and how likely it is to be a target of attack. If you don't have tons of credit card and personal information, and you're not a super popular site, maybe you do it once a year. If you're a huge eCommerce company, you might have an ongoing audit that goes constantly. Large companies have entire security teams doing stuff like this full-time.
Obviously, you have to do your due diligence so you meet compliance. Beyond that, you have to do a risk/reward analysis. Does the cost of security outweigh the cost of a potential breach? Your site could be awesomely secure if you had a three-person security team dedicated to that 24/7. But if you're a company that makes $10 million a year, and a three-person team costs you $500,000, that might not be the best use of your resources. On the other hand, if you stand to lose a billion dollars through a security breach, the cost of a three-person team is very reasonable.
TL;DR: You need to care about security enough to monitor it continually.