You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enforce authenticated media by default. Administrators can revert this by configuring `enable_authenticated_media` to `false`. In a future release of Synapse, this option will be removed and become always-on.
Copy file name to clipboardExpand all lines: docs/usage/configuration/config_documentation.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -1887,8 +1887,7 @@ Config options related to Synapse's media store.
1887
1887
1888
1888
When set to true, all subsequent media uploads will be marked as authenticated, and will not be available over legacy
1889
1889
unauthenticated media endpoints (`/_matrix/media/(r0|v3|v1)/download` and `/_matrix/media/(r0|v3|v1)/thumbnail`) - requests for authenticated media over these endpoints will result in a 404. All media, including authenticated media, will be available over the authenticated media endpoints `_matrix/client/v1/media/download` and `_matrix/client/v1/media/thumbnail`. Media uploaded prior to setting this option to true will still be available over the legacy endpoints. Note if the setting is switched to false
1890
-
after enabling, media marked as authenticated will be available over legacy endpoints. Defaults to false, but
1891
-
this will change to true in a future Synapse release.
1890
+
after enabling, media marked as authenticated will be available over legacy endpoints. Defaults to true (previously false). In a future release of Synapse, this option will be removed and become always-on.
1892
1891
1893
1892
In all cases, authenticated requests to download media will succeed, but for unauthenticated requests, this
1894
1893
case-by-case breakdown describes whether media downloads are permitted:
@@ -1910,9 +1909,11 @@ will perpetually be available over the legacy, unauthenticated endpoint, even af
1910
1909
This is for backwards compatibility with older clients and homeservers that do not yet support requesting authenticated media;
1911
1910
those older clients or homeservers will not be cut off from media they can already see.
1912
1911
1912
+
_Changed in Synapse 1.120:_ This option now defaults to `True` when not set, whereas before this version it defaulted to `False`.
0 commit comments