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

Insecure Downloads in Chrome and Publicly Accessible Documents Folder Warning FYI #714

Open
pgrafix opened this issue Sep 15, 2022 · 1 comment

Comments

@pgrafix
Copy link

pgrafix commented Sep 15, 2022

I am posting this as a solution to two issues that I have seen addressed here and in the WP support threads as independent issues.

During development we experienced issues with downloads of private documents failing in Chrome due to an insecure redirect step (see #695, https://wordpress.org/support/topic/allowoverride-problems/, https://wordpress.org/support/topic/mixed-content-error-when-downloading-attachments/ ). Simultaneously, a warning that the docs folder was directly accessible regardless of privacy settings on the document was displaying in the WP admin.

After toiling with our host (Cloudways) regarding the downloads issue and not getting anywhere, I informed them of the direct access warning message and referred them to your wiki (https://github.com/boonebgorges/buddypress-docs/wiki/Attachment-Privacy#nginx). They implemented an NGINX config update and not only did it fix the direct access warning, it fixed the downloads issue as well. I cannot attest to if they used the config statement from the wiki verbatim.

So it would appear that the two issues are related and can be solved with updating the nginx config. It may be useful for other users who experience the same issues with NGINX running as a reverse-proxy to update the wiki as such.

@boonebgorges
Copy link
Owner

Thanks for reporting this. I've started a wiki page about this: https://github.com/boonebgorges/buddypress-docs/wiki

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

2 participants