How would you prevent SQL injection attacks here?
Anonymous
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.
Check out your Company Bowl for anonymous work chats.