Sean Mize | Web Design, Web Production & Occasional Web Development

How to prevent an injection attack:
A not-so-beginner’s guide

I should know better. I help run Glamour.com.

But for this, my personal site, I got lax about security and chose an weak password. My rationale was that with no audience and at most an annual update, my domain wouldn’t be enticing to hackers. Karma disagreed.

Turns out that injection attacks common and usually automated. The bot doesn't care about my traffic, or lack thereof. Luckily, these attacks are easy enough to fix when your site consists of a single HTML page and you don't care too much about your Google rank. For larger sites, or those who do want the Google gold, though, scrubbing your code and going through Google's review process could be a real hassle.

Thankfully, the folks at stopbadware.org have a great repository of info about how to clean your site once infected and what you can do to prevent further attacks. Here are some tools and recommendations I found handy:

Checking your site

How to protect your site

Good luck!