I don't know the details of the read only and admin console defaults in Fuseki, however, I do know that if you enable the permissions (jena-security in 2.13, jena-permissions in 3.0) you can ensure that the database is read only.
see http://jena.apache.org/documentation/security/example.html for details of configuration. Claude On Tue, Jun 2, 2015 at 4:30 PM, Jeffrey Witt <[email protected]> wrote: > Hi all, > I¹m trying to get a little clarity on Fuseki2¹s ³read-only" mode and what > that really means. > > Right now I want my database to be "read only", so (per the instructions) I > always exclude the --update option when starting so as to start my server > in > ready only mode. > > This is confirmed because fuseki2 starts with the following output: > > > [2015-06-02 11:18:27] Server INFO Running in read-only mode for /ds > > [2015-06-02 11:18:27] Server INFO Fuseki 2.0.0 > 2015-03-08T09:49:20+0000 > > [2015-06-02 11:18:27] Config INFO > > FUSEKI_HOME=/home/jcwitt/apache-jena-fuseki-2.0.0 > > [2015-06-02 11:18:27] Config INFO > > FUSEKI_BASE=/home/jcwitt/apache-jena-fuseki-2.0.0/run > > [2015-06-02 11:18:27] Servlet INFO Initializing Shiro environment > > [2015-06-02 11:18:27] Config INFO Shiro file: > > file:///home/jcwitt/apache-jena-fuseki-2.0.0/run/shiro.ini > > [2015-06-02 11:18:27] Config INFO Template file: > templates/config-tdb-dir > > [2015-06-02 11:18:28] Config INFO TDB dataset: > > directory=/home/jcwitt/scta-builds/Build-2015-06-02-2.0 > > [2015-06-02 11:18:28] Builder INFO Service: TDB /ds > > [2015-06-02 11:18:28] Config INFO Register: /ds > > [2015-06-02 11:18:28] Server INFO Started 2015/06/02 11:18:28 EDT > on port > > 8088 > > > However, if I navigate (in the browser) to fuseki admin page there is an > option to upload files. I tried to test whether the db was Œread-only¹ by > uploading a small file of rdf/xml triples from my local machine called > ³am-projectdata.rdf.² To my surprise, it was successful. > > The console log seems to confirm this: > > > [2015-06-02 10:59:14] Fuseki INFO [18] Filename: am-projectdata.rdf, > > Content-Type=application/rdf+xml, Charset=null => RDF/XML : Count=384 > > Triples=384 Quads=0 > > [2015-06-02 10:59:14] Fuseki INFO [18] 200 OK (153 ms) > > So I¹m wondering, has this file just be added to by TDB dataset? I > definitely don¹t want that to happen. I would have thought ³read-only² > would > prohibit precisely this. > > Am I missing something? > > I appreciate any clarification you can provide. > jw > > > > -- > Dr. Jeffrey C. Witt > Philosophy Department > Loyola University Maryland > 4501 N. Charles St. > Baltimore, MD 21210 > www.jeffreycwitt.com <http://www.jeffreycwitt.com/> > > > -- I like: Like Like - The likeliest place on the web <http://like-like.xenei.com> LinkedIn: http://www.linkedin.com/in/claudewarren
