Regular expression that prevents SQL Injection

1

I'm looking for some way to avoid SQL Injection on the system I'm developing.

Is there any regular expression that perceives the attempt of a possible SQL Injection attempt?

Do you know any other way to avoid it? Sometimes there may even be better ways of prevention but I still do not know.

    
asked by anonymous 08.06.2017 / 16:54

1 answer

2

SQL injections usually have = or ; , they basically consist of 2 groups, " Always true

08.06.2017 / 18:01