Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline files sandox #207

Open
HubertBalcerzak opened this issue Feb 22, 2021 · 0 comments
Open

Inline files sandox #207

HubertBalcerzak opened this issue Feb 22, 2021 · 0 comments

Comments

@HubertBalcerzak
Copy link
Collaborator

Files served with Content-Disposition: inline create a serious security issue when any form of authentication in browser gets implemented. For example, a html file can run javascript on the same origin, as API endpoints and make use o user's credentials. We can't be sure, that only files with Content-Type: text/html create that issue, as it is not standarized to my knowlege and depends on browser implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant