Is it possible to use SSL when SendGrid retrieves a CSV file from my server?

StackOverflow https://stackoverflow.com/questions/19120360

  •  30-06-2022
  •  | 
  •  

سؤال

I would like to use SendGrid's feature where I create a recipient list by supplying a URL to a CSV file. In my case, the CSV file is dynamically created using arguments in the URL, which essentially acts as query parameters. The issue is that this leaves a wide-open security hole, whereby anyone who knows this URL can access data from the server. To deal with that, I would like to use a secret key parameter in the URL to restrict access. But unless SSL is used in the request, this key value will be sent in plain-text, defeating its purpose.

Is there a way to use SSL in the request? Alternatively, if there's another method of restricting access only to SendGrid's servers, I'm listening.

هل كانت مفيدة؟

المحلول

To have SendGrid retrieve a file using SSL, simply provide a URL that has https as the protocol (e.g. https://myserver.com/file-server?list=awesome&key=secretpassword123)

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top