cloudinary / CloudinaryDotNet

Cloudinary DotNet library
MIT License
102 stars 69 forks source link

Secure() by default? #325

Open elvogel opened 1 year ago

elvogel commented 1 year ago

Is there any way we can get a https:// in the URL builds without having to specify the Secure() function each time? Is there still a requirement for http:// only out there?

aksjoshi1 commented 1 year ago

When using Cloudinary's upload API, by default, the URLs generated for the uploaded images are secure (https://). You don't need to explicitly specify the Secure() function each time.

Cloudinary provides secure URLs by default to ensure the images are served over HTTPS for better security. This default behavior is in line with modern web standards, where using HTTPS is highly recommended to protect the integrity and privacy of user data.

Therefore, when using Cloudinary's upload API, you can expect the URLs to be in the form of https:// unless you have specifically configured your Cloudinary account or API settings to use HTTP (which is less common and not recommended).