Hacker News new | ask | show | jobs
by dagw 568 days ago
If you look at the source, you'll see that it opens the DB in read-only mode.
2 comments

Yes you are right. Source ref for anyone interested - https://github.com/simonw/sqlite-utils-ask/blob/91277eeb26bd...
There are also some SQL parsing libraries for python that you can use to restrict things further. But opening the DB in RO mode is a good start.

Another concern with tools like this is query performance and not accidentally overloading your database with some stupidly expensive query.