database icon indicating copy to clipboard operation
database copied to clipboard

Support different endpoints for queries and update statements

Open retog opened this issue 4 years ago • 4 comments

It should be possible to configure blazegraph so that there are different endpoints for read-only queries and for update statements. This would allow to have different access restrictions for these operations. Or is there currently a way to allow queries without authentication while requiring authentication to change the data with SPARQL INSERT/DELETE?

retog avatar Dec 05 '19 17:12 retog

I was wondering the same. Any update on this?

laurapascazio avatar Aug 14 '23 08:08 laurapascazio

You have to handle this in a container in which you run blazegraph. Eg, setup tomcat routing of requests or the like.

On Mon, Aug 14, 2023 at 01:55 Laura Pascazio @.***> wrote:

I was wondering the same. Any update on this?

— Reply to this email directly, view it on GitHub https://github.com/blazegraph/database/issues/150#issuecomment-1676941633, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATW7YCQOEZHZTA7C7T7QU3XVHRXTANCNFSM4JV5KTKA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

thompsonbry avatar Aug 14 '23 13:08 thompsonbry

@thompsonbry , thank you for your reply. I am using a container, but I can't figure out how to setup tomcat to allow queries without authentication while requiring authentication to change the data with SPARQL INSERT/DELETE. At the moment I was able to setup authentication for all users, or enable read-only for all users without requiring authentication. Is there a way to allow both?

laurapascazio avatar Aug 15 '23 02:08 laurapascazio

Best to take that question to the tomcat list.

You might need to use two different end points

On Mon, Aug 14, 2023 at 19:15 Laura Pascazio @.***> wrote:

@thompsonbry https://github.com/thompsonbry , thank you for your reply. I am using a container, but I can't figure out how to setup tomcat to allow queries without authentication while requiring authentication to change the data with SPARQL INSERT/DELETE. At the moment I was able to setup authentication for all users, or enable read-only for all users without requiring authentication. Is there a way to allow both?

— Reply to this email directly, view it on GitHub https://github.com/blazegraph/database/issues/150#issuecomment-1678334024, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATW7YHHEFLCCABLGQEVCL3XVLLVRANCNFSM4JV5KTKA . You are receiving this because you were mentioned.Message ID: @.***>

thompsonbry avatar Aug 15 '23 13:08 thompsonbry