set_allowed_services


Description:

[ Version ( since = "3.7" ) ]
public void set_allowed_services (string services)

Sets the list of external SPARQL endpoints that this endpoint will allow access for.

Access through the `SERVICE` SPARQL syntax will fail for services not specified in this list.

If services is null, access will be allowed to every external endpoint, this is the default behavior. If you want to forbid access to all external SPARQL endpoints, use an empty list.

This affects both remote SPARQL endpoints accessed through HTTP, and external SPARQL endpoints offered through D-Bus. For the latter, the following syntax is allowed to describe them as an URI:

`DBUS_URI = 'dbus:' [ ('system' | 'session') ':' ]? dbus-name [ ':' object-path ]?`

If the system/session part is omitted, it will default to the session bus. If the object path is omitted, the `/org/freedesktop/Tracker3/Endpoint` [class@EndpointDBus] default will be assumed.

Parameters:

this

The endpoint

services

List of allowed services, or null to allow all services