blazegraph / database

Blazegraph High Performance Graph Database
GNU General Public License v2.0
873 stars 170 forks source link

Support different endpoints for queries and update statements #150

Open retog opened 4 years ago

retog commented 4 years ago

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?

laurapascazio commented 10 months ago

I was wondering the same. Any update on this?

thompsonbry commented 10 months ago

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: @.***>

laurapascazio commented 10 months ago

@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?

thompsonbry commented 10 months ago

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: @.***>