Hi Arun,
OAuth can be done programatically but it's a little convoluted to do so.
In anycase, Virtuoso supports other forms of authentication than OAuth.
https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtTipsAndTricksDigestAuthAJAX
You haven't mentioned what kind of application you have but the above
technique could be ported to other languages than Javascript, I've
authenticated against /sparql-auth in PHP for example.
--
Regards,
Quentin Serrurier.
GuidingHand.Solutions
On 2016-11-03 05:55, Arun Balagopalan wrote:
> Hi all,
>
> I am trying to build a service that uses Virtuoso DB with DBpedia data. I've
> got the setup to a point where the data is loaded and my client can query the
> Virtuoso server using the public SPARQL endpoint. Now I want to secure access
> to the server, ie allow only authorized applications to access the DB.
>
> I've looked at examples in the wiki that use Oauth, webid etc requiring a
> user to login before queries cant be sent. For example
> https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtOAuthSPARQL
> [3]
>
> In my case, my client application is basically the user and so the
> credentials cannot be sent via browser. Is there a good way to do this in
> Virtuoso?
>
> Thanks,
> Arun
>
> ------------------------------------------------------------------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi [1]
>
> _______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users [2]
Links:
------
[1] http://sdm.link/xeonphi
[2] https://lists.sourceforge.net/lists/listinfo/virtuoso-users
[3]
https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtOAuthSPARQL
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users