@@ -99,7 +99,6 @@ their users. To support this use case, homeservers must expose a
99
99
` m.account_status ` capability to tell clients whether they support retrieving
100
100
account status via the client-side endpoint described above.
101
101
102
-
103
102
## Alternatives
104
103
105
104
A previous version of this proposal used ` GET ` requests instead of ` POST ` .
@@ -108,12 +107,23 @@ changed to `POST` so user IDs don't leak into reverse proxy logs.
108
107
109
108
## Security considerations
110
109
110
+ ### Allowing servers to refuse to share account statuses
111
+
111
112
Should a server administrator not want to disclose information about their users
112
113
through the federation endpoint described above, they should use a reverse proxy
113
114
or similar tool to prevent access to the endpoint. On top of this, homeserver
114
115
implementations may implement measures to respond with a 403 status code and a
115
116
` M_FORBIDDEN ` error code in this case.
116
117
118
+ ### Overwriting the statuses of another server's account
119
+
120
+ When processing the response from a request to the federation endpoint described
121
+ in this proposal, homeservers implementations must verify that every account the
122
+ remote homeserver has provided a status for belongs to the remote homeserver.
123
+ For any account for which this isn't the case, the status provided by the remote
124
+ homeserver must be ignored. This is to prevent mischievous homeservers from
125
+ trying to overwrite the status of accounts that don't belong to them.
126
+
117
127
## Unstable prefixes
118
128
119
129
Until this proposal is stabilised in a new version of the Matrix specification,
0 commit comments