Question

Relational Databases are able to set permissions for users to insert, update, delete, etc by schema or table (e.g. I can allow bob CRUD access to table someschema.XYZ but only allow read access to someschema.FooBar and no access to schema ABC)

Graph databases do not have predefined schemas but have an arbitrary set of node types. Is it possible to set restrictions on a graph database for what a user can access like you do for relational databases or does this granularity not exist in graph databases due to it's nature?

I am specifically looking at Neo4j but if this exists in other examples, then I would like to know.

Était-ce utile?

La solution

Neo4j allows you to implement your own SecurityRules. A SecurityRule acts similar to a servlet filter, every request is evaluated with the SecurityRule.

However you have to implement the logic on your own which gives great flexibility but might also cause a serious amount of work.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top