marcominerva / DatabaseGPT

Query a database using natural language
https://databasegpt.azurewebsites.net/
MIT License
59 stars 13 forks source link

Prevent the execution of INSERT, UPDATE and DELETE commands #15

Closed marcominerva closed 9 months ago

marcominerva commented 9 months ago

For security reason, it should be possibile to request only SELECT queries against the database. If the user makes a question that requires an INSERT, UPDATE or DELETE command, an exception must be thrown.