Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.
/ usercontent Public archive

Render user generated content with a different origin to the main application.

Notifications You must be signed in to change notification settings

matrix-org/usercontent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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 element-hq/element-web#6173 for status on replacing this with something else.

About

Render user generated content with a different origin to the main application.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages