Thanks a lot Quentin, that was exactly what I was looking for.
My client is in python, and the sparql library I'm using makes it really
easy to perform digest authentication against /sparql-auth. Here is a
snippet for others who might be interested
https://gist.github.com/wikier/38c0e3a4925b0bb81dd0
Cheers,
Arun
On Wed, Nov 2, 2016 at 6:20 PM, Quentin <quentin@guidinghand.solutions>
wrote:
> 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
>
> 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
>
>
> _______________________________________________
> Virtuoso-users mailing
> listVirtuoso-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/virtuoso-users
>
>
> ------------------------------------------------------------
> ------------------
> 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
>
>
------------------------------------------------------------------------------
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