Pergunta de entrevista da empresa Macquarie Group

How would you prevent SQL injection attacks here?

Resposta da entrevista

Sigiloso

5 de fev. de 2025

I failed to answer this well unfortunately. Interview nerves. In retrospect you sanitize the input, and using JDBI (which I was in this case) can use prepared statements to do this for you.