Skip to content
Advertisement

Tag: sql.js

how to sanitize sql.js inputs?

I am using sql.js to manage the SQLite file I created for an electron app. My issue is that I want to make sure all the inputs are sanitized. As of now, I am using statements like so: I’m pretty sure that this way is unsafe and can cause SQL injections. What can I do to prevent such a problem?

Advertisement