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

Add CSP, HSTS and X-Content-Type-Options #719

Open
1 task done
rmsmgaspar opened this issue Mar 14, 2024 · 2 comments
Open
1 task done

Add CSP, HSTS and X-Content-Type-Options #719

rmsmgaspar opened this issue Mar 14, 2024 · 2 comments
Labels
feature request Issues that request new features to be added to OnlyOffice

Comments

@rmsmgaspar
Copy link

This issue is unique.

  • I have used the search tool and did not find an issue describing my idea.

Your idea.

Regarding webpage security, there is the need to create headers security with:
Content Security Policy (CSP)
HTTP Strict Transport Security (HSTS)
X-Content-Type-Options
Right now this is not possible with the docker version, it's possible to have this implemented or with some environment variables to input?
thanks in advance.

@Rita-Bubnova Rita-Bubnova transferred this issue from ONLYOFFICE/DocumentServer Mar 18, 2024
@igwyd
Copy link
Member

igwyd commented Mar 19, 2024

Hello @rmsmgaspar, we add automaticaly add_header X-Content-Type-Options nosniff; and add_header Strict-Transport-Security max-age=31536000; to the nginx config if you Running ONLYOFFICE Document Server using HTTPS and we have docker variables for settings up HSTS. Regarding CSP is not implemented, i create ticket #66988 with your proposal.
BTW, you can configure any security settings yourself if you use an external proxy, our examples for proxies are here.

@Rita-Bubnova Rita-Bubnova added the feature request Issues that request new features to be added to OnlyOffice label Mar 19, 2024
@rmsmgaspar
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issues that request new features to be added to OnlyOffice
Projects
None yet
Development

No branches or pull requests

3 participants