Help Center/ Object Storage Service/ SDK Reference/ Java/ FAQs (SDK for Java)/ How Can I Set an Object to Be Accessible to Anonymous Users? (SDK for Java)
Updated on 2025-05-12 GMT+08:00

How Can I Set an Object to Be Accessible to Anonymous Users? (SDK for Java)

To do this, perform the following steps:

  1. Set the ACL to public read for the object by referring to Configuring an Object ACL (SDK for Java).
  2. Obtain the URL of the object by referring to How Do I Obtain an Object URL? (Java SDK) and provide it to anonymous users.
  3. An anonymous user can access the object by entering the URL on a browser.