Website Security Checklist

Keeping your websites secure is not just about protecting it from destruction. What is even more important, is protecting the people using your website. If your website is destroyed, it is not that hard to rebuild. (You make backups whenever you change anything, right?!) But if your website hurts people, there's no way to undo it.

The majority of the attacks i have helped with, have involved malicious code on a website which did bad things to the visitor's computer. And the bad code got on the website pages because of "easy" passwords, and Windows viruses.

Most website hacks start with a stolen password or virus on the admin's computer itself.
Therefore, the security advice below starts with you and your computer.
In fact — it's two-thirds of the page!
If nothing else, do the 20% thing that takes care of 80% of all hacking: Use strong passwords!

Your computer

Keep your Windows computer free of malware (viruses, trojans, etc.)

These bad programs do things like:

2. Or use Linux (such as Ubuntu) and you can skip the whole section above!

Your general accounts, programs, and emails

Passwords

Access your email, website cPanel, file uploads, or CMS admin, securely

Don't click on links in email

Don't open attachments in email

Your web browser

And finally ... your website/cms itself!

For all websites

Programs and/or databases on websites

If there are any programs installed on your site, such as PHP form scripts, or javascripts:

If you don't know what these things mean, that's OK! You don't know what all the little tools of the electrician or the computer repair guy do either. But you do know how to ask them questions, to make sure the job is done! In the same way with websites, we have relationships with local professionals who do these things for us. And in the same, in the end it is up to us, the website owners, to make sure it is all done right.

If you are the programmer: Lucky you! Big responsibility. Here's some advice from a local security expert (Frederic of AirJaldi):

There is no magic bullet to [ensure] the security of a web site. My 2 Rs, would be to stick with proven frameworks and keep them up to date, not use random plugins written by a noob. [such as, check everything you add to your CMS] ...

The best advice is, never trust any information coming from the client, either from a form or from a cookie. Why should a client be nice ? Why should he not modify the informations you gave him a few milliseconds ago ? Always check the integrity of information sent to the server. Never trust the browser.

So, programmer: Everything you do as a programmer starts from this principle. Never trust the browser is exactly the same advice we got in a web security class from Randall Schwartz, Perl guru, many years ago. It hasn't changed!

CMS website

If you don't know what these things meansame as above!

Credits:

Know more