Hi Roland, The private graphs group is not created automatically and needs to be added with the function :
DB.DBA.RDF_GRAPH_GROUP_CREATE ('http://www.openlinksw.com/schemas/virtrdf#PrivateGraphs', 0); Best Regards Hugh Williams Professional Services OpenLink Software, Inc. // http://www.openlinksw.com/ Weblog -- http://www.openlinksw.com/blogs/ LinkedIn -- http://www.linkedin.com/company/openlink-software/ Twitter -- http://twitter.com/OpenLink Google+ -- http://plus.google.com/100570109519069333827/ Facebook -- http://www.facebook.com/OpenLinkSoftware Universal Data Access, Integration, and Management Technology Providers On 29 Oct 2013, at 18:46, Roland Cornelissen <metamatter...@gmail.com> wrote: > Thanks Kingsley for the extensive answer. > I spelled every word of it but didn't manage to get it working following your > instructions. > The rules I initially set were derived from the wiki [1], following 6.3 to > 6.7. I did not use graph_groups however. > > Now when issue: > DB.DBA.RDF_GRAPH_GROUP_INS > ('http://www.openlinksw.com/schemas/virtrdf#PrivateGraphs','http://data.metamatter.nl/test/') > ; > > I get this error: > *** Error RDF99: [Virtuoso Driver][Virtuoso Server]Graph group > <http://www.openlinksw.com/schemas/virtrdf#PrivateGraphs> does not exist > at line 1 of Top-Level: > DB.DBA.RDF_GRAPH_GROUP_INS > ('http://www.openlinksw.com/schemas/virtrdf#PrivateGraphs','http://data.metamatter.nl/test/') > > > I asume this is a predefined group for security purposes (?) that is missing > from my install? > Can I check this somehow or recreate this group? > > Thanks, > Roland > > > > [1] > http://www.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtRDFGraphsSecurity > > On 28-10-13 22:12, Kingsley Idehen wrote: >> On 10/28/13 4:07 PM, Roland Cornelissen wrote: >>> Hi, >>> >>> I have a VOS7 setup where a certain graph is restricted to public access. >>> FCT is installed and search results show information from the restricted >>> graph. >>> Is this a hole in the security model or do I need to config something >>> additionally in FCT? >>> >>> Thanks, >>> Roland >> What rule have you actually set? Here's an example: >> >> DB.DBA.RDF_GRAPH_GROUP_INS >> ('http://www.openlinksw.com/schemas/virtrdf#PrivateGraphs','{Named-Graph-IRI}') >> ; >> >> -- Setting Rules for specific SQL role/user accounts >> -- Call Signature: >> -- DB.DBA.RDF_DEFAULT_USER_PERMS_SET (uname, perms, set_private_flag) >> >> -- Example: >> >> -- To ensure user 'nobody' doesn't have access to private graphs execute: >> >> DB.DBA.RDF_DEFAULT_USER_PERMS_SET ('nobody', 0, 1); >> >> -- To ensure that services running under user/role account 'SPARQL' don't >> have access to private graphs (denoted using 1). Note: 0 denotes public >> public graphs >> DB.DBA.RDF_DEFAULT_USER_PERMS_SET ('SPARQL', 0, 1); >> >> -- If this command fails run: >> update SYS_USERS set U_ACCOUNT_DISABLED = 0 where U_NAME = 'SPARQL'; >> >> -- To ensure a specific SQL user/role account 'rww' is given access to >> private graphs: >> DB.DBA.RDF_DEFAULT_USER_PERMS_SET ('rww', 1, 1); >> >> -- To ensure SQL user/role account 'rww' only has read, write, and sponge >> privileges on non private graphs i.e., opposite of the rule above >> DB.DBA.RDF_DEFAULT_USER_PERMS_SET ('rww', 0, 1); >> DB.DBA.RDF_DEFAULT_USER_PERMS_SET ('rww', 7, 0); >> >> -- Troubleshoot your ACLs e.g., when your settings don't match expectations >> RDF_GRAPH_SECURITY_AUDIT ( 0 ) ; >> >> -- Unilaterally remove ACL settings for a user e.g., when a problem is too >> hard to track down: >> >> DB.DBA.RDF_ALL_USER_PERMS_DEL ('rww') ; >> >> >> -- Catering for the fact that some datasets are supposed to be confidential, >> thus the whole quad storage is set to confidential. Then specific privileges >> can be assigned to specific graphs for specific users >> >> DB.DBA.RDF_DEFAULT_USER_PERMS_SET ('nobody', 0); >> >> >> Kingsley >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> Android is increasing in popularity, but the open development platform that >>> developers love is also attractive to malware creators. Download this white >>> paper to learn more about secure code signing practices that can help keep >>> Android apps secure. >>> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Virtuoso-users mailing list >>> Virtuoso-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users >>> >>> >> >> >> >> >> ------------------------------------------------------------------------------ >> Android is increasing in popularity, but the open development platform that >> developers love is also attractive to malware creators. Download this white >> paper to learn more about secure code signing practices that can help keep >> Android apps secure. >> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk >> >> >> _______________________________________________ >> Virtuoso-users mailing list >> Virtuoso-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/virtuoso-users > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk_______________________________________________ > Virtuoso-users mailing list > Virtuoso-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtuoso-users
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users