ONLYOFFICE / ControlPanel

Tools for administrating self-hosted ONLYOFFICE.
http://www.onlyoffice.com
Apache License 2.0
19 stars 13 forks source link

Backups to Google Cloud Storage are accessible over the Internet #8

Open EdgarHarutyunyan02 opened 11 months ago

EdgarHarutyunyan02 commented 11 months ago

Having the Google Cloud integration enabled and doing backup on ControlPanel tries to put objects in the bucket with allUsers object level permission.

Tried different setups, didn't work.

The only way it works is to disable the Public Access prevention on the bucket and have Fine Grained Access Control enabled, but this results in objects being accessible over the Internet, which is not secure.

Suggesting to remove the allUsers and allAuthenticatedUsers object level permissions if there is one in the object ACL when OnlyOffice tries to upload the image to the bucket.

My Setup

Carazyda commented 10 months ago

Hello @EdgarHarutyunyan02 Yes, we have this problem. At this point, I cannot provide you with any other option other than to disable Prevent Public Access. We will try to fix this in future versions.