Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to deal with SQL injection ?

what is the best way to handle sql injection in php and mysql?

user-image
Question added by Julfkar Moh Umar , Sr. Software Engineer , Aakash Edutech Private Limited
Date Posted: 2016/01/11
Deleted user
by Deleted user

You can use ORM like entity framework or use stored procedure for old school

Deleted user
by Deleted user

One thing you could do is to use type-safe SQL parameters for data access. This is one thing I find problematic when using a language that does not use type checking and data type restrictions.

Md. Saidul Islam
by Md. Saidul Islam , Senior Officer , Uttara Bank Limited

SQL injection is a technique where malicious users can inject SQL commands into an SQL statement, via web page input.

Injected SQL commands can alter SQL statement and compromise the security of a web application.

More Questions Like This