project-lux / lux-marklogic

Code, issues, and resources related to LUX MarkLogic
Other
3 stars 2 forks source link

Restrict endpoint consumers to custom endpoints (from 5) #1

Open gigamorph opened 4 months ago

gigamorph commented 4 months ago

Original title/scope was "Prevent the lux-endpoint-consumer role from executing arbitrary SPARQL queries" but that is really just an example. Broader scope would be to only expose the endpoints we intend middle tiers to consume.

The initial idea was to take the rest-reader role away from the lux-endpoint-consumer role, yet that is likely too restrictive. Alternative ideas are documented in /docs/lux-backend-security-and-software.md#endpoint-consumer.