VB.NET - SQL injection attack

Define SQL injection attack

- It occurs when SQL string is passed as user input to the application.
- This SQL injection attack can be prevented by validating the format of all strings passed as user input.

Example:

Assume the following query -
Select * from Table_Name Where Firstname='" & TextBox1.Text & "'

- Here the user inputs x’ OR ‘x=x’ in TextBox1 then the above query returns a true value and the result will be displayed by starting all the records with letter x.
VB.NET - ReadXML, WriteXML, GetXML
VB.NET - ReadXML, WriteXML, GetXML - ReadXML: The dataset method that reads data from an XML file into a dataset. WriteXML......
VB.NET user-defined controls
VB.NET user-defined controls - Inherited controls, user controls, and custom controls......
VB.NET - Role of the LicenseProvider in control licensing
VB.NET - Role of the LicenseProvider in control licensing - The LicenseProvider controls license validation and grants run-time licenses......
Post your comment