# How to change the Sharing settings for a resource?

**URL:** <https://forum.solidproject.org/t/how-to-change-the-sharing-settings-for-a-resource/114>\
**Category:** Self Host a Solid Pod\
**Created:** [October 19, 2018, 8:24am UTC](https://forum.solidproject.org/t/how-to-change-the-sharing-settings-for-a-resource/114 "2018-10-19T08:24:29Z")\
**Posts on this page:** 13\
**Page:** 2

<div class="post-metadata">

**Author:** ![JornWildt](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/jornwildt/32/112_2.png) [@JornWildt](https://forum.solidproject.org/u/JornWildt)\
**Post date:** [October 30, 2018, 8:12pm UTC](https://forum.solidproject.org/t/how-to-change-the-sharing-settings-for-a-resource/114/21 "2018-10-30T20:12:50Z")

</div>

Ah 🙂 I was trying “inbox.acl” not “inbox/.acl”. Thanks.

---

<div class="post-metadata">

**Author:** ![JornWildt](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/jornwildt/32/112_2.png) [@JornWildt](https://forum.solidproject.org/u/JornWildt)\
**Post date:** [October 30, 2018, 8:42pm UTC](https://forum.solidproject.org/t/how-to-change-the-sharing-settings-for-a-resource/114/22 "2018-10-30T20:42:59Z")

</div>

Can you help me again? I’ve got the ACL for /inbox/.acl:

```
@prefix : <#>.
@prefix n0: <http://www.w3.org/ns/auth/acl#>.
@prefix inbox: <./>.
@prefix c: </profile/card#>.

:ControlReadWrite
    n0:accessTo inbox:;
    n0:agent c:me, <mailto:jw@elfisk.dk>;
    n0:origin <http://elfisk.dk>;
    n0:defaultForNew inbox:;
    n0:mode n0:Control, n0:Read, n0:Write;
    a n0:Authorization.
:Read
    n0:accessTo inbox:;
    n0:defaultForNew inbox:;
    n0:mode n0:Read;
    a n0:Authorization.
:ReadWrite
    n0:accessTo inbox:;
    n0:defaultForNew inbox:;
    n0:mode n0:Read, n0:Write;
    a n0:Authorization.

```

I can see the agent “c:me” (my WebID) has Control, Read and Write access.

Now I want to grant access to the origin [http://elfisk.dk](http://elfisk.dk) which is the Origin header I can see in Fiddler. As you can see above I’ve tried `n0:origin <http://elfisk.dk>` - but without luck - the server returns “Not authorized”.

I have also tried `n0:trustedOrigin <http://elfisk.dk>` without luck.

The server has accepted my change: if I reload the .acl page I can se my changes.

If I try the exact same request, through Fiddler, without the “Origin” header, it returns 200-OK with the inbox data.

I’m trying to go through [https://www.w3.org/wiki/WebAccessControl](https://www.w3.org/wiki/WebAccessControl) to understand what is going on. But apparently missing something.

Do you know what I am supposed to do?

---

<div class="post-metadata">

**Author:** ![megoth](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/megoth/32/8_2.png) [@megoth](https://forum.solidproject.org/u/megoth)\
**Post date:** [October 30, 2018, 11:45pm UTC](https://forum.solidproject.org/t/how-to-change-the-sharing-settings-for-a-resource/114/23 "2018-10-30T23:45:07Z")

</div>

@JornWildt sorry for late response, I’ve been on away for a couple of days. I’m not quite into the whole access/resource sharing with apps yet, so I’ll refer to @timbl and @RubenVerborgh in hopes they might have time to answer your questions.

Just in case, have you looked at the [Solid Specificatino](https://github.com/solid/solid-spec) and the parts on [Authorization and Access Control](https://github.com/solid/solid-spec#authorization-and-access-control)?

---

<div class="post-metadata">

**Author:** ![JornWildt](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/jornwildt/32/112_2.png) [@JornWildt](https://forum.solidproject.org/u/JornWildt)\
**Post date:** [October 31, 2018, 8:17am UTC](https://forum.solidproject.org/t/how-to-change-the-sharing-settings-for-a-resource/114/24 "2018-10-31T08:17:53Z")

</div>

Yes, thanks, I’ve tried to understand both - it ends at [https://github.com/solid/web-access-control-spec#referring-to-origins-ie-web-apps](https://github.com/solid/web-access-control-spec#referring-to-origins-ie-web-apps) with “A specific ACL can be be made to allow a given app to access a given file or folder of files” … without further details about how its done plus some future ideas.

---

<div class="post-metadata">

**Author:** ![bourgeoa](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/bourgeoa/32/291_2.png) [@bourgeoa](https://forum.solidproject.org/u/bourgeoa)\
**Post date:** [December 13, 2018, 7:42am UTC](https://forum.solidproject.org/t/how-to-change-the-sharing-settings-for-a-resource/114/25 "2018-12-13T07:42:05Z")

</div>

.acl files.  
How do you go directly to the file in the databrowser ?

---

<div class="post-metadata">

**Author:** ![robdrake](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/robdrake/32/189_2.png) [@robdrake](https://forum.solidproject.org/u/robdrake)\
**Post date:** [December 14, 2018, 9:39pm UTC](https://forum.solidproject.org/t/how-to-change-the-sharing-settings-for-a-resource/114/26 "2018-12-14T21:39:46Z")

</div>

Sharing for file solidlinks.txt  
Error reading ACL. status Can’t get headers to find ACL for \<https://\>: Failed to load \<https://\> Fetcher: fetch failed: TypeError: https:// is not a valid URL. status: 999: ( No ACL pointer https:// Can’t get headers to find ACL for \<https://\>: Failed to load \<https://\> Fetcher: fetch failed: TypeError: https:// is not a valid URL. status: 999)undefined  
What I get when trying to change permissions as described in this post.

---

<div class="post-metadata">

**Author:** ![robdrake](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/robdrake/32/189_2.png) [@robdrake](https://forum.solidproject.org/u/robdrake)\
**Post date:** [December 18, 2018, 8:57am UTC](https://forum.solidproject.org/t/how-to-change-the-sharing-settings-for-a-resource/114/27 "2018-12-18T08:57:43Z")

</div>

This is only a problem with solid.tilde.team, not solid.community for some reason

---

<div class="post-metadata">

**Author:** ![bourgeoa](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/bourgeoa/32/291_2.png) [@bourgeoa](https://forum.solidproject.org/u/bourgeoa)\
**Post date:** [December 18, 2018, 9:47am UTC](https://forum.solidproject.org/t/how-to-change-the-sharing-settings-for-a-resource/114/28 "2018-12-18T09:47:16Z")

</div>

What’s you version of Solid ?

---

<div class="post-metadata">

**Author:** ![bourgeoa](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/bourgeoa/32/291_2.png) [@bourgeoa](https://forum.solidproject.org/u/bourgeoa)\
**Post date:** [December 18, 2018, 10:31am UTC](https://forum.solidproject.org/t/how-to-change-the-sharing-settings-for-a-resource/114/29 "2018-12-18T10:31:20Z")

</div>

If it’s on 5.0.0 beta you should report on chat node-solid-server. There is already a report on .meta files

---

<div class="post-metadata">

**Author:** ![timbl](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/timbl/32/24_2.png) [@timbl](https://forum.solidproject.org/u/timbl)\
**Post date:** [March 24, 2019, 11:24pm UTC](https://forum.solidproject.org/t/how-to-change-the-sharing-settings-for-a-resource/114/30 "2019-03-24T23:24:49Z")

</div>

You can drag users by their webid straight into the rainbow access control panel above. One way to find a user to drag is to drag their icon/name from the author tab on a solid chat message. So chat with them and then add them.

Or you can follow a link to their webid, and then drag the URL bar icon .

---

<div class="post-metadata">

**Author:** ![TheodoraPetkova](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/theodorapetkova/32/11_2.png) [@TheodoraPetkova](https://forum.solidproject.org/u/TheodoraPetkova)\
**Post date:** [March 25, 2019, 5:47am UTC](https://forum.solidproject.org/t/how-to-change-the-sharing-settings-for-a-resource/114/31 "2019-03-25T05:47:47Z")

</div>

Thanks! I didn’t know that. I only knew I could drag WebId URLs into the FOAF panel. Will try the “custom” sharing. :]

---

<div class="post-metadata">

**Author:** ![timbl](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/timbl/32/24_2.png) [@timbl](https://forum.solidproject.org/u/timbl)\
**Post date:** [March 25, 2019, 12:14pm UTC](https://forum.solidproject.org/t/how-to-change-the-sharing-settings-for-a-resource/114/32 "2019-03-25T12:14:47Z")

</div>

Another things you can drag into the window are Groups, from a group file or an address book. The group should have the webids of its members declared in that file.

In principal you can also drag in an Origin like [https://tools.inrupt.net](https://tools.inrupt.net) with NO TRAILING SLASH … but if you try to set that up in the browser (and other tools) They will tend to add a trailing slash, which mades it just a folder on the web.

---

<div class="post-metadata">

**Author:** ![TheodoraPetkova](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/theodorapetkova/32/11_2.png) [@TheodoraPetkova](https://forum.solidproject.org/u/TheodoraPetkova)\
**Post date:** [March 25, 2019, 10:45pm UTC](https://forum.solidproject.org/t/how-to-change-the-sharing-settings-for-a-resource/114/33 "2019-03-25T22:45:07Z")

</div>

It worked. The first thing (the one with the Tools - I could’t get to anything)  
I had hard time creating a group. Is it done only from the address book?  
I had one, created some time ago - [https://teodora.solid.community/public/testaddressbook/](https://teodora.solid.community/public/testaddressbook/) and than managed to add a Group to it -  
[https://teodora.solid.community/public/testaddressbook/Group/wordsmiths.ttl#this](https://teodora.solid.community/public/testaddressbook/Group/wordsmiths.ttl#this). Then the dragging and the sharing with that group worked. [sharing some screenshots below + 1 error message] What is the text box above “Ne address Book - tools” and above “person name:” for?

When I add a contact is there a way this contact gets extracted (not sure about the word) from my “knows” file? Or from something like a Solid list of people 🙂

 ![36%20AM](https://europe1.discourse-cdn.com/flex017/uploads/solidproject/original/1X/96c4860025d177216b6ba32ae86b80e290bc57b6.png) ![19%20AM](https://europe1.discourse-cdn.com/flex017/uploads/solidproject/original/1X/399b38fe3bdabc53ccc31d5786c104899cbb004d.png) ![03%20AM](https://europe1.discourse-cdn.com/flex017/uploads/solidproject/original/1X/8caa74dea42e102a831f683a8a7c12fa9f11525c.png) ![29%20AM](https://europe1.discourse-cdn.com/flex017/uploads/solidproject/original/1X/a17cbaade631824ea07759819d15406c01055c26.png) ![08%20AM](https://europe1.discourse-cdn.com/flex017/uploads/solidproject/original/1X/c7f92991c92e5f44d5bfd7036a300bb86c847380.png)  
 ![46%20AM](https://europe1.discourse-cdn.com/flex017/uploads/solidproject/original/1X/c332c23ac729986608bba3f7fb18be8501132b65.png)

[Previous page](https://forum.solidproject.org/t/how-to-change-the-sharing-settings-for-a-resource/114.md?page=1)
