It may seem obvious, but ensuring you keep all software up to date is vital in keeping your site secure.This applies to both the server operating system and any software you may be running on your website such as a CMS or forum.
If you are using third-party software on your website such as a CMS or forum, you should ensure you are quick to apply any security patches.
Most vendors have a mailing list or RSS feed detailing any website security issues.
Consider this query: Since '1' is equal to '1' this will allow the attacker to add an additional query to the end of the SQL statement which will also be executed.
Word Press, Umbraco and many other CMSes notify you of available system updates when you log in.
SQL injection attacks are when an attacker uses a web form field or URL parameter to gain access to or manipulate your database.