I am working on application where I let end user upload csv files to a bucket through UI. Once user uploads the data, I want to let the user download the data which they have uploaded (through UI) and they should not be able to view/download data which other users have uploaded..
In GCP Cloud Storage Bucket, I am uploading all users files into a single bucket. so this bucket will have files from all the users. But when they want to download/view the files, they should see only the files they have uploaded and not other users. All this access has to be done automatically. Could you please guide me how should I set such permissions automatically?
I looked at some of the resources https://cloud.google.com/storage/docs/collaboration#browser https://cloud.google.com/storage/docs/access-control/iam-json and lot more..didnt find the solution.. Could you please guide me!