When you want to add a signature to the delivery URL of a public resource type asset, the signature component can be calculated manually or using one of the SDKs.
For example, using the following delivery URL:
https://res.cloudinary.com/demo/image/upload/sheep.jpg
-
Manual signature calculation
The detailed steps on how to generate the signature component for the delivery URL is described in the documentation: https://cloudinary.com/documentation/delivery_url_signatures#manually_create_a_signed_delivery_url
-
Using the SDK to generate the signature component
You can use one of the SDK to generate the signature and this can be done by using the `sign_url` parameter, as shown below:
cloudinary.url("sheep.jpg", {sign_url: true})
Using either of the methods above - the resulting delivery URL will be:
https://res.cloudinary.com/demo/image/upload/s--m867GjnB--/sheep.jpg
For more details on the different delivery types: https://cloudinary.com/documentation/upload_parameters#delivery_types
Comments
0 comments
Please sign in to leave a comment.