Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document current acl:trustedApp system #56

Merged
merged 3 commits into from
Jun 17, 2019
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,17 +386,15 @@ the origin MUST be allowed access*

#### Adding trusted web apps.

** NB: this feature was only added recently and is still consider experimental. It's likely to change in the near future. **

The authorization of trusted web app is a running battle between readers and writers on the web, and malevolent parties trying to break in to get unauthorized access. The history or Cross-Site Scripting attacks and the introduction of the Same Origin Policy is not detailed here, The CORS specification in general prevents any web app from accessing any data from or associated with a different origin. The web server can get around CORS. It is a pain to to do so, as it involves the server code echoing back the Origin header in the ACAO header, and also it must be done only when the web app in question actually is trustworthy.

In solid a maxim is, you have complete control of he data. Therefore it is up to the owner of the data, the publisher, the controller of the ACL, or more broadly the person running the solid server, to specify who gets access, be it people or apps. However another maxim is that you can chose which app you use. So of Alice publishes data, and Bob want to use his favorite app, then how does that happen?

##### Now:

- The web server can run with a given trusted domain created by the solid developers.
- The web server can run with a given trusted domain configured by the pod provider.
michielbdejong marked this conversation as resolved.
Show resolved Hide resolved
- A specific ACL can be be made to allow a given app to access a given file or folder of files.

##### Possible future:
- A writer could give in their profile a statement that they will allow readers to use a given app.
- Someone with acl:Control access to the resource could give in their profile a statement that they will allow users to use a given app.

```
<#me> acl:trustedApp [ acl:origin <https://calendar.example.com>;
Expand Down