I am making Windows software in C #. I read about sql-injection , but I did not find it working on my application.
Is SQL Injection running in winforms?
If so, how to prevent them.
EDIT: I use text fields to read the username and password. and with textboxex, I found that the text from the text box is between double quotes ( "" ). So I did not find that it worked.
And when I use Quotes " OR ' in the text box, the text reads as \" OR \'
Example:
................... USER NAME: | a" OR "1"=="1 | ``````````````````` // it is read as textBox1.Text = "a\" OR \"1\"==\"1";
source share