https://github.com/matrix-org/usercontent
Render user generated content with a different origin to the main application.
https://github.com/matrix-org/usercontent
Last synced: about 1 month ago
JSON representation
Render user generated content with a different origin to the main application.
- Host: GitHub
- URL: https://github.com/matrix-org/usercontent
- Owner: matrix-org
- Archived: true
- Created: 2016-11-17T12:01:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-05-09T21:29:41.000Z (almost 2 years ago)
- Last Synced: 2024-11-03T23:34:44.978Z (6 months ago)
- Language: HTML
- Size: 2.93 KB
- Stars: 4
- Watchers: 31
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - matrix-org/usercontent - Render user generated content with a different origin to the main application. (others)
README
UserContent
===========A way to render user generated content with a different origin to the main application.
This can be used to avoid XSS attacks.This is used by Riot to display the download button for encrypted attachments
in end-to-end encrypted chats. See
https://github.com/vector-im/riot-web/blob/master/README.md#configjson for
instructions on how to host your own version of this.This is not an ideal solution for Riot: see
https://github.com/vector-im/riot-web/issues/6173 for status on replacing
this with something else.