'\" t .\" Title: tinysparql-xdg-portal-3 .\" Author: The TinySPARQL developers .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 09/16/2024 .\" Manual: TinySPARQL manual .\" Source: \ \& 3.8.0 .\" Language: English .\" .TH "TINYSPARQL\-XDG\-POR" "1" "09/16/2024" "\ \& 3\&.8\&.0" "TinySPARQL manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" tinysparql-xdg-portal-3 \- Portal to Tracker endpoints .SH "SYNOPSIS" .sp .nf tinysparql\-xdg\-portal\-3 [\-\-version | \-v] .fi .SH "DESCRIPTION" .sp This daemon allows access to TinySPARQL endpoints in a controlled manner\&. By default access to every service is disallowed, services may be whitelisted through additional policy in the \fI\&.flatpak\-info\fR file\&. .sp When whitelisting services, the policy may define specific graph names to allow access to, the \fIdefault\fR keyword to allow access to the default unnamed graph, or \fI*\fR keyword to allow access to all graphs\&. .SH "CONFIGURATION" .sp When interacting with sandboxed clients, the service expects the following format in the \fI\&.flatpak\-info\fR file: .sp .if n \{\ .RS 4 .\} .nf [Policy Tracker3] dbus:org\&.example\&.SparqlEndpoint1=graphA;graphB;default dbus:org\&.example\&.SparqlEndpoint2=* .fi .if n \{\ .RE .\} .sp This will allow access to the endpoints behind the \fBorg\&.example\&.SparqlEndpoint1\fR and \fBorg\&.example\&.SparqlEndpoint2\fR bus names\&. Only to the \fBgraphA\fR and \fBgraphB\fR graph IRIs and the default unnamed graph on the first endpoint, and to all graphs in the second\&. .sp This policy can be set when building or running the sandboxed application through the \-\-add\-policy option\&. This can be set via \fBfinish\-args\fR in the flatpak manifest, specified along the build chain in \fBflatpak\-build\-finish\fR(1), or modified at start time with \fBflatpak\-run\fR(1)\&. For example: .sp .if n \{\ .RS 4 .\} .nf $ flatpak run \e \-\-add\-policy=Tracker3\&.dbus:org\&.example\&.SparqlEndpoint1=graphA \e \-\-add\-policy=Tracker3\&.dbus:org\&.example\&.SparqlEndpoint1=graphB \e \-\-add\-policy=Tracker3\&.dbus:org\&.example\&.SparqlEndpoint1=default \e \-\-add\-policy=Tracker3\&.dbus:org\&.example\&.SparqlEndpoint2=* \e org\&.freedesktop\&.ExampleSandbox .fi .if n \{\ .RE .\} .SH "SEE ALSO" .sp \fBflatpak\-build\-finish\fR(1), \fBflatpak\-override\fR(1), \fBflatpak\-run\fR(1)