Document secure deployment and security measures #9322
Labels
documentation
issues related to documentation
proposal
feature proposals (potential future features)
security
issues related to security
I would like to document what parts of securing theia are handled by theia and what is the responsibility for application developers.
Current situation
From what I have read in other issues there are three possibilities to provide authentication credentials: Via the Authorization header (e.g. Basic auth), via cookies or via custom headers / parameters.
Both cookies and Basic auth are used in practice. Both share the property to be send by the browser automatically on every request to the domain. (Some people disable authentication for WebSockets).
Use Case
I would like to look at the following use case for the questions below:
A theia based application configured with the official extensions (e.g. from the documentation) and arbitrary theia / vscode plugins.
This theia based application should be deployed to the web and is therefore publicly reachable.
Security measures
Questions
Actions
I think it is important do document who is responsible for what in respect to these security measures.
Otherwise it is unclear for an application developer using theia, what needs to be done and what is already present.
This is especially important as a failure to protect theia properly can result in unrestricted command line access to the underlaying server / container. The most important aspect IMHO is proper CSRF protection as otherwise the cookies / authorization header could be used to access theia and issue arbitrary command from other domains.
The text was updated successfully, but these errors were encountered: