Abaki Elfo
Abaki Elfo

Reputation: 29

How to disable upload data in fuseki?

I have set up a SPARQL endpoint on a public server with Jena Fuseki and i've uploaded my open data into it.

So i want users to be able to directly query the dataset without any authentication and in the the same time not being able to manipulate my data in the endpoint ( create new dataset , adding data to my dataset ect .. )

i've tried to do that with the shiro.ini with a basic auth of username and password , but that blocks everything even the query for the users.

Any help would be greatly appreciated

Upvotes: 2

Views: 443

Answers (1)

Konrad Höffner
Konrad Höffner

Reputation: 12207

Public read but not write access should be the default setting, see the Fuseki security documentation.

In its default configuration, SPARQL endpoints are open to the public but administrative functions are limited to localhost

I assume that graph deletion and upload counts as "administrative function". To be sure that modification over SPARUL queries is blocked as well, please try adding a triple outside of localhost with the following query:

INSERT DATA INTO <mygraph> { <test1> <test2> <test3>.}

Upvotes: 0

Related Questions