How can I set the visibility of images to be public or private based on user requests? #29022
-
Is there a feature that allows moving files from a bucket where publicUrl is available to a bucket where publicUrl is not available? Or is there a way to achieve similar functionality? I want to configure images to be public or private based on user settings. When they are public, I want to use publicUrl, and when they are private, I want the publicUrl to be removed. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
No. There is not such feature as it is does on a bucket by bucket basis. There is also no bucket to bucket move last time I checked. |
Beta Was this translation helpful? Give feedback.
No. There is not such feature as it is does on a bucket by bucket basis. There is also no bucket to bucket move last time I checked.
You could make the file names hard to guess in a public bucket. Then to hide them if you shared their public URL you would just rename them.