You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clarify use of and requirement for acl:origin predicate #59
First, the acl:origin mechanism was created to add security to Solid resources. The WAC spec document clearly states:
When an Origin header is present then BOTH the authenticated agent AND the origin MUST be allowed access
The intention is to add a layer of security to resources. However, it is trivial for a web application to circumvent this feature (by taking the bearer token, which it already has access to, and passing that to either a same-origin endpoint or one with wide open CORS rules and then sending that same bearer token via a back channel with an arbitrary Origin header added to the request to the target resource server).
This feature also has significant (negative) implications on being able to design an ACL cache, which is vitally important for any high-load, high-performance server implementation.
In this context (significant disadvantages and questionable advantages), it would be helpful to clarify whether supporting acl:origin is a requirement of all servers.
It would also be helpful to clarify how acl:origin is supposed to work in an ACL document. The examples show acl:origin being used in tandem with acl:trustedApp, but acl:trustedApp is not present in the ACL vocabulary.
From an implementation perspective, it is unclear how one is to understand acl:origin in the context of other acl:Authorization scopes: is the intention that some acl:Authorizations will apply to users (i.e. WebIDs) and others will separately apply to acl:origin values? Or would those predicates be unified in a single acl:Authorization scope?
It is possibly worth noting that the ACL vocabulary defines acl:origin rdfs:domain acl:Authorization.
Activity
elf-pavlik commentedon Sep 22, 2019
I think we should keep all authZ related issues in https://github.com/solid/authorization-and-access-control-panel , otherwise we risk having parallel conversations about the same issues.
kjetilk commentedon Nov 27, 2019
Indeed, this is under discussion in the authz panel.
csarven commentedon Jul 2, 2021
Thanks for this issue and discussion. Closing this issue as consensus is deemed to be captured in WAC Editor's Draft: https://solid.github.io/web-access-control-spec/ . See #acl-origin , #authorization-conformance , #web-origin-authorization . Please use https://github.com/solid/web-access-control-spec for future discussion.
trustedApp is not in the ED. If need be, I suggest a new issue focusing on that.
michielbdejong commentedon Jan 16, 2025
I looked there, but couldn't find the answer.
Noted, continuing in solid/web-access-control-spec#34 (comment)
Clarify acl:origin
Clarify acl:origin