is that posible to generate link on alibaba with aliyun to make unlimited expired link ?
$timeout = 0; //default 3600
$signedUrl = $ossClient->signUrl($bucketName, $object, $timeout, "GET");
echo $signedUrl;
is that posible to generate link on alibaba with aliyun to make unlimited expired link ?
$timeout = 0; //default 3600
$signedUrl = $ossClient->signUrl($bucketName, $object, $timeout, "GET");
echo $signedUrl;
Andrea is right about the maximum validity of signed URL. If you're looking for a static URL which never expires, I see only two options:
public-read
so it can be viewed by anyone with the link. You can set the ACL for the object via API or web console.
From the Official Documentation, it's not possible.
The maximum validity period of a URL is 32,400 seconds, so 9 hours.
Here's the full information from the link above: