summaryrefslogtreecommitdiff
path: root/docs/federation/federating_with_gotosocial/access_control.md
diff options
context:
space:
mode:
authorLibravatar f0x52 <f0x@cthu.lu>2023-02-13 18:34:44 +0100
committerLibravatar GitHub <noreply@github.com>2023-02-13 18:34:44 +0100
commit76d1b484d07e14b091256dda635078810b2d7035 (patch)
tree8caf56a1998ffd6d49b0ad066df51495e6556975 /docs/federation/federating_with_gotosocial/access_control.md
parent[chore] Do cache-control in a less silly way to avoid writing header twice (#... (diff)
downloadgotosocial-76d1b484d07e14b091256dda635078810b2d7035.tar.xz
[docs] move federating with gotosocial documentation into single file (#1494)
Diffstat (limited to 'docs/federation/federating_with_gotosocial/access_control.md')
-rw-r--r--docs/federation/federating_with_gotosocial/access_control.md11
1 files changed, 0 insertions, 11 deletions
diff --git a/docs/federation/federating_with_gotosocial/access_control.md b/docs/federation/federating_with_gotosocial/access_control.md
deleted file mode 100644
index 6123e455d..000000000
--- a/docs/federation/federating_with_gotosocial/access_control.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# Access Control
-
-GoToSocial uses access control restrictions to protect users and resources from unwanted interactions with remote accounts and instances.
-
-As shown in the [http signatures](http_signatures.md) document, GoToSocial requires all incoming `GET` and `POST` requests from remote servers to be signed. Unsigned requests will be denied with http code `401 Unauthorized`.
-
-Access control restrictions are implemented by checking the `keyId` of the signature (who owns the public/private key pair making the request).
-
-First, the host value of the `keyId` uri is checked against the GoToSocial instance's list of blocked (defederated) domains. If the host is recognized as a blocked domain, then the http request will immediately be aborted with http code `403 Forbidden`.
-
-Next, GoToSocial will check for the existence of a block (in either direction) between the owner of the public key making the http request, and the owner of the resource that the request is targeting. If the GoToSocial user blocks the remote account making the request, then the request will be aborted with http code `403 Forbidden`.