| [ Web Proxy ] |
| Viewing: https://javascriptsolidserver.github.io/docs/reference/pod-structure | [Back] [Original] |
When a pod is created, JSS generates this structure:
/alice/
index.html # WebID profile
.acl # Root access control
inbox/ # LDP inbox
.acl # Public append
public/ # Public container
private/ # Private container
.acl # Owner only
settings/ # Preferences
.acl # Owner only
prefs # User preferences
publicTypeIndex
privateTypeIndex
/alice/index.html contains HTML with embedded JSON-LD:
<!DOCTYPE html>
<html>
<head>
<script type="application/ld+json">
{
"@context": "https://www.w3.org/ns/solid/context.jsonld",
"@id": "#me",
"@type": "Person",
"name": "alice",
"inbox": "inbox/",
"preferencesFile": "settings/prefs",
"storage": "./"
}
</script>
</head>
<body>...</body>
</html>
/alice/.acl grants owner full access and public read:
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
<#owner>
a acl:Authorization;
acl:agent </alice/#me>;
acl:accessTo <./>;
acl:default <./>;
acl:mode acl:Read, acl:Write, acl:Control.
<#public>
a acl:Authorization;
acl:agentClass foaf:Agent;
acl:accessTo <./>;
acl:default <./>;
acl:mode acl:Read.
/alice/inbox/.acl allows public append:
<#public>
a acl:Authorization;
acl:agentClass foaf:Agent;
acl:accessTo <./>;
acl:mode acl:Append.
| Web Proxy Viewer | New URL | Original Page |