2022-02-18 08:33:07
For image files, to avoid the risk of stolen images in the business, it is required to limit the image URL that are exposed outwards so as to make anonymous visitors only get images that have been shortened or watermarked. This scenario can be implemented by turning on the original image protection.
After enabling original image protection, the following two access methods are unavailable:
Direct access through external link address: http://downloads.s3.cn-north-1.jdcloud-oss.com/lena.jpg
Access by processing parameters: http://downloads.s3.cn-north-1.jdcloud-oss.com/lena.jpg?x-oss-process=img/s/200/300
The image can only be accessed by style method: http://downloads.oss.cn-north-1.jcloudcs.com/lena.jpg?x-oss-process=imgalias/stylename
Description:
a. The rules are valid only for non-owner users. After the original image protection is configured, the owner users can obtain the original image through the signature access method.
b. The original image protection is mainly for image files, and the suffixes of the protected images must be configured. For example, if the configuration limits the .png suffix files, the original images with the .jpg suffixes can still be accessed. Image formats supporting configuration include png, jpg, jpeg, gif, bmp, webp, svg, jp2 (jpeg 2000), tiff, jbig
c. The original image protection supports the old and new interfaces for image processing, and also supports OSS domain names and compatible S3 domain names. It is recommended to use New Service Domain Name.
Description Customized Delimiter.
我们的产品专家为您找到最合适的产品/解决⽅案
1v1线上咨询获取售前专业咨询
专业产品顾问,随时随地沟通