Closed
Description
An idea that @RubenVerborgh mentioned yesterday, which I think sounds brilliant:
When a client writes to a server, for instance a PATCH that adds triples to a doc or a POST to an inbox, we could have a specific predicate (e.g. http://xmlns.com/foaf/spec/#term_maker) that triggers a server-side check: If you add the triple
<> foaf:maker <https://michielbdejong.inrupt.net/profile/card#me>.
in an unauthenticated request, or when authenticated as anyone other than https://michielbdejong.inrupt.net/profile/card#me
, the request would fail with a meaningful error message.
When then doing a GET for such a document, there should probably be a response header that allows the server to state that "this RDF source contains foaf:maker
triples that have all been checked by this server at write time"