-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Private data is publicly visible at /uploaded/layers #2896
Comments
At least we can make it a bit harder by denying directory listing in the Apache config. I.e. change the installation doco from:
to
(...and same for the other directories configured there.) But it's still not hard to infer the actual filenames (if just the metadata is visible) and download them without listing the directory. |
Hi, the uploaded/layers directory doesn't have to be served by apache, it only needs write permissions. Thumbs on the other hands need to be publicly available. If the doc says that uploaded has to be served then we need to fix it. Thanks |
"The uploaded/layers directory doesn't have to be served by apache, it only needs write permissions" - simod 2017-02--09 GeoNode/geonode#2896 (comment)
"The uploaded/layers directory doesn't have to be served by apache, it only needs write permissions" - @simod on GeoNode#2896 GeoNode#2896 (comment)
OK so I've made a pull request to fix the manual install doco, but the same change may be needed to other install methods ...Quick install? Ansible? Other? |
Thanks I've also fixed it at package level see dedd939 |
"The uploaded/layers directory doesn't have to be served by apache, it only needs write permissions" - @simod on #2896 GeoNode/geonode#2896 (comment)
In Geonode 2.4, all uploaded data can be listed and downloaded from
http://<host>/uploaded/layers
regardless of security permissions.This seems to be by design. The installation doco says to make it all wide open:
Removing ‘other’ permission (chmod 770) breaks the upload function.
The text was updated successfully, but these errors were encountered: