You can lock off the administrative APIs (and web forms) which provide that 
function by using the shiro.ini configuration that controls security. In fact, 
a lot of people do that without meaning to do it.

---
A. Soroka
The University of Virginia Library

> On Apr 29, 2016, at 9:04 AM, Sandor Kopacsi <sandor.kopa...@univie.ac.at> 
> wrote:
> 
> Thanks a lot for the quick answer. And will it also prohibit to add new 
> datasets to tdb?
> 
> 
> ---- Andy Seaborne írta ----
> 
>> On 29/04/16 12:57, Sandor Kopacsi wrote:
>>> Dear Colleagues,
>>> 
>>> I am starting Jena Fuseki with the command:
>>> 
>>> ./fuseki-server --config jena-text-config.ttl
>>> 
>>> where the configuration file contains these main parameters:
>>> 
>>> <#service_text_tdb> rdf:type fuseki:Service ;
>>>     rdfs:label                      "TDB/text service" ;
>>>     fuseki:name                     "ds" ;
>>>     fuseki:serviceQuery             "query" ;
>>>     fuseki:serviceQuery             "sparql" ;
>>>     fuseki:serviceUpdate            "update" ;
>>>     fuseki:serviceUpload            "upload" ;
>>>     fuseki:serviceReadGraphStore    "get" ;
>>>     fuseki:serviceReadWriteGraphStore    "data" ;
>>>     fuseki:dataset                  <#text_dataset> ;
>>>     .
>> 
>> Remove the update services : no declaration, no service.
>> 
>> <#service_text_tdb> rdf:type fuseki:Service ;
>>     rdfs:label                      "TDB/text service" ;
>>     fuseki:name                     "ds" ;
>>     fuseki:serviceQuery             "query" ;
>>     fuseki:serviceQuery             "sparql" ;
>>     fuseki:serviceReadGraphStore    "get" ;
>>     fuseki:dataset                  <#text_dataset> ;
>>     .
>> 
>>> 
>>> <#text_dataset> rdf:type     text:TextDataset ;
>>>     text:dataset   <#dataset> ;
>>>     ##text:index   <#indexSolr> ;
>>>     text:index     <#indexLucene> ;
>>>     .
>>> 
>>> <#dataset> rdf:type      tdb:DatasetTDB ;
>>>     tdb:location "/var/www/skosmos/jena-fuseki1-1.3.0/tdb" ;
>>>     tdb:unionDefaultGraph true ;
>>>     # Query timeout on this dataset (10 minutes = 600000 milliseconds)
>>>     ja:context [ ja:cxtName "arq:queryTimeout" ;  ja:cxtValue "600000" ] ;
>>>     .
>>> 
>>> <#indexSolr> a text:TextIndexSolr ;
>>>     #text:server <http://localhost:8983/solr/COLLECTION> ;
>>>     text:server <embedded:SolrARQ> ;
>>>     text:entityMap <#entMap> ;
>>>     .
>>> 
>>> <#indexLucene> a text:TextIndexLucene ;
>>>     text:directory <file:/var/www/skosmos/jena-fuseki1-1.3.0/lucene> ;
>>>     ##text:directory "mem" ;
>>>     text:entityMap <#entMap> ;
>>>     .
>>> 
>>> I am interested in if I can start Fuseki in TDB without allowing making
>>> any changes (e.g. uploading unwanted files) or updates in TDB from the
>>> frontend of Fuseki.
>>> 
>>> Something like this:
>>> 
>>> fuseki:serviceUpdate "none" ;
>>> 
>>> Thanks in advance,
>>> Sandor
>>> 
>> 

Reply via email to