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

security: clean up the policy, add docs #539

Merged

Conversation

monkeyiq
Copy link
Contributor

@monkeyiq monkeyiq commented May 6, 2019

Instead of setting the header all over the place, use a new Security class to set that policy in code in one place. That uses a new config.php setting to provide the default choice and there are docs for that new setting. This should make it clean to issue a 'none' value and disable it in the web server configuration for sites which do not wish to use the default sameorigin policy or wish to tighten it up to a 'deny'.

@monkeyiq monkeyiq merged commit a550ea2 into filesender:master May 6, 2019
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

Successfully merging this pull request may close these issues.

None yet

1 participant