Hi,
We would like to detect if a basex query is read query or update query and then only allow read user queries to be executed. We receive a user query from an incoming request like this: http://host:port?query= "xquery"
The goal is to check if "xquery" in the url above is a read or update query.
We thought about checking the content of the query string and look for update operation keywords such |||||||||||| as insert, delete, etc. Is there any other better way to do that?
Best, Alireza