Help Center> Object Storage Service> Java> FAQs (SDK for Java)> How Do I Download an Encrypted Object Using a URL? (Java SDK)
Updated on 2024-01-16 GMT+08:00

How Do I Download an Encrypted Object Using a URL? (Java SDK)

If the object is encrypted with SSE-KMS, the server automatically decrypts the object when you use the URL of the object to download it. If the object is encrypted with SSE-C, you cannot access the object directly through a web browser because a request header is required for decryption. If you use code to download the encrypted object, configure the header by referring to Code Example: Downloading an Object Encrypted Using SSE-C.

Accessing a server-side encrypted object requires the HTTPS protocol.