Codium Logo Codium Logo
  • Services
  • Industries
  • Our Work
  • About
  • Blog
Blog

Website Security and SQL Injections

5 December 2012
One of the most devious ways of infiltrating a website is through SQL Injections, which in general is where un-sanitised user input allows a malicious user to ‘inject’ their own SQL statements into your SQL queries. Of course this is incredibly dangerous as depending on the level of security, a user could potentially delete entire databases, give themselves administrator permissions, and steal data. It can also cause problems due to apostrophes within some people’s names. This makes SQL Injection a very serious concern for any competent Web Developer or Consultant. The site http://www.unixwiz.net/techtips/sql-injection.html has an incredibly interesting walk-through of using SQL Injection to break into a client’s site in a security review of their site.

As the article discusses, SQL Injection won’t work every time and does involve a little bit of guess work when guessing database field names, although important field names generally look similar, the password field will typically be called ‘password’ and the email field will be called something like ‘email’ or ‘mail’. However once all this is figured out, using SQL Injection will lead to be quick results.

Finally, the article discusses the virtues and methods of giving your website security /SQL Database from SQL Injections, advocating techniques like sanitisation of input where you remove all special characters that can be used to perform SQL Injections like apostrophes and so on. It goes on to mention using database permissions and configuring error reporting. Error reporting is especially important as if a malicious attacker is able to see the SQL errors that occur from their SQL Injection attempts it can allow them to easily tailor their later injections to avoid errors. In the end, you could luck out and have no user attempt to use SQL Injection, but this blog has reported that "the observed Web applications suffered on average 71 SQLi attempts an hour." so in the end it is worth the time of a Web Developer or Consultant to provide website security against SQL Injections.
2012
Keep reading

More from the blog

Has your business outgrown Excel? Seven signs, and what to do about each one
15 Oct 2026

Has your business outgrown Excel? Seven signs, and what to do about each one

Spreadsheets fail slowly, so nobody notices the day they stop being a tool and start being the system. Here are the signs, the fix...

What has changed in custom software development over the last 12 months
2 Sep 2026

What has changed in custom software development over the last 12 months

Software development continues to evolve quickly, but the last 12 months have seen some particularly significant changes in the wa...

How do you know which asset is about to fail before it does?
30 Jul 2026

How do you know which asset is about to fail before it does?

The failure was there in the data for three inspections before the breakdown. Nobody could see it because the data was spread acro...

All articles

Want to talk about your own project?

Tell us what's slowing your business down. One of our digital strategists will talk it through with you.

Get in touch Call 1300 887 103
Codium Logo
Codium Pty Ltd.
Ground Floor, 207 Greenhill Road
Eastwood, 5063
Adelaide, South Australia
  • 1300 887 103
  • sales@codium.com.au

Development

  • Software Development
  • Mobile Apps
  • Software Integration
  • Hardware Integration
  • Microsoft Access
  • Replace Spreadsheets

Managed Services

  • Software Takeover
  • Software Support (SLA)
  • Managed Hosting
  • Private AI Hosting
  • On-Premise AI

AI

  • AI for Business
  • AI Reporting

Strategy

  • Technology Partner
  • UI / UX Design
  • Due Diligence (M&A)
  • Why Projects Succeed
  • What Software Costs

Technologies

  • PHP · Laravel
  • JavaScript · Vue.js
  • AWS

Company

  • About Us
  • Industries
  • Our Work
  • Blog
  • Careers
  • Contact Us
  • Customer Feedback
  • Remote Support

© Codium Pty Ltd. All Rights Reserved.

  • Terms of Business
  • Privacy Policy
  • Quality Policy
  • Security Policy
  • Customer Experience Charter
Back Top
Codium
Services
All services Strategy
  • Technology Partner
  • UI / UX Design
  • Technology Due Diligence
  • Why Projects Succeed
  • What Software Costs
Development
  • Software Development
  • Mobile App Development
  • Software Integration
  • Hardware Integration
  • Microsoft Access Databases
  • Replace Spreadsheets
Managed services
  • Software Takeover
  • Software Support (SLA)
  • Managed Hosting
  • Private AI Hosting
  • On-Premise AI
AI
  • AI for Business
  • AI Reporting
Industries
All industries
  • Construction
  • Finance
  • Government
  • Health
  • Insurance
  • Manufacturing
  • Mining
  • Retail & E-commerce
  • Transport & Logistics
Our Work About Blog
Get in touch Call 1300 887 103