How to Prevent SQL Injection?

SQL Injection is one of the web attack mechanisms used by hackers to access the database. This article describes SQL Injectionand how to prevent it. Summary of the article:

What is SQL Injection?

How to Prevent SQL Injection?

What is SQL Injection?
SQL Injection is a one kind of attack where the attacker generates malicious code and send into SQL query to access database or system.

How to Prevent SQL Injection?
For any database application it is necessar to overcome SQL Injection . We can prevent the SQL Injection in the following ways or to prevent SQL Injection we need to do the following things:

Access the database using an account with the least privileges necessary.

Install the database using an account with the least privileges necessary.

Ensure that error messages give nothing away about the internal architecture of the application or the database

That’s all about SQL Injection

About Author

Rashed

I’m Rashedul Alam, software engineer/architect, technical blogger, and educator. I have over 10 years of working experience in the field of software design and development. I like to share my knowledge and technical stuff with others. I am a community contributor, providing problem solving answer through different forum.