Security model of RDF4J - Howto model an Editor role #3164
-
Dear RDF4J! After tinkering the security to work I have some questions on role modelling. Most of the users of RDF4J will not use the security model at all.
So if we are talking about security we are talking about a percent of the RDF4J users, only. This percent may consider a more cautious approach having two roles:
This can be easily achieved with the RDF4J/Tomcat security. And there are even more cautious users. We are now talking about a percentage of a percent of users. I utilize Plone for more than a decade. It has an excellent security model equal to that of J2EE.
Currently I am struggling with this Editor role in RDF4J.
[Maybe these two findings are not a fact, but caused by my faulty configuration.] As I mentioned these are corner cases of corner cases, but probably they are interesting for someone trying to write a really secure Web-Application utilizing RDF4J, like me. Please don't get me wrong. This is no RDF4J bashing. I am really happy with RDF4J. Formerly we utilized Blazegraph with no security at all. But I have to understand the security model of a database quite good before I release a Python database adapter utilizing RDF4J to the public. Cheers, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 16 replies
-
They're different endpoints though, so you should be able to differentiate them:
Likewise:
What may be somewhat confusing is that the endpoint for executing SPARQL queries is also |
Beta Was this translation helpful? Give feedback.
-
HI I'm struggle with a similar need (again!) in these days, so first of all thank @volkerjaenisch to open a thread on this, and exposing very well a typical scenario. And thank of course @jeenbroekstra as usual for explainations. One of my concern in this direction is well explained by the phrase: "This can be easily achieved with the RDF4J/Tomcat security." Anyway, I think that in perspective it would be great to have a security/role module configuration that can be handled indipendently from tomcat... maybe a possible future development (#1502) may help in that direction? If anyone has suggestions in that direction, please share, I hope I was not too much off-topic here. Alfredo |
Beta Was this translation helpful? Give feedback.
They're different endpoints though, so you should be able to differentiate them:
DELETE /rdf4j-server/repositories/<ID>
<- removal of the repository itselfDELETE /rdf4j-server/repositories/<ID>/statements
<- removing statements from the repositoryLikewise:
PUT /rdf4j-server/repositories/<ID>
<- config/creation of the repository itselfPUT /rdf4j-s…