Skip to content

SQL Injections

DÅLIGT! Det går att fula in queries från en bad actor-client
var myQuery =; // ; Drop or ggrher (DROP * FROM )

“SELECT * FROM TABLE WHERE id = “+myQuery+”; SELECT *ggrher (DROP * FROM );”

BÄTTRE! myResult.selectWhereSearchPhrase(int id) myResult.selectWhereSearchPhrase(String searchPhrase)

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
) instead.