Would like to allow a client application to execute SQL queries against our database.
The queries will be requests for data, the client should never be able to modify data.
Is there a way to allow a client to send in a SQL statement, then screen it for malicious injection, then pass it through the the database?
We are using the SQLAlchemy library for Python against a PostgreSQL database.
Thanks!