How does an object owner grant access to specific users?

November 5, 2019 86 views
DigitalOcean Spaces

For example, user A uploads an object using the Spaces API. All the response contains is an ETag. Anyways, I (developer) knows the url (or key) of the object and I can save this in the database or whatever. Accessing the URL of a private object returns an AccessDenied response. What if the owner wants to give access to user B (username on my website is joe123), which DO don’t have an ID of. How do I set the object ACL so that joe123 can access/download it?

Be the first one to answer this question.