【问题标题】:Securing the rest endpoint exposed to twilio for incoming message保护暴露给 twilio 的其余端点以获取传入消息
【发布时间】:2023-03-20 03:10:01
【问题描述】:

在我的应用程序中,我公开了一个休息端点,并在 twilio 帐户中为传入消息配置了它。 现在,由于请求不是来自登录用户而是来自外部客户,因此请求中没有发送令牌,因此暴露的 API 不安全。

除了将其设为 https 调用之外,还有其他方法可以使其安全吗?

【问题讨论】:

    标签: rest twilio microservices


    【解决方案1】:

    这就是x-twilio-signature 的用途。来自 Twilio 的 Webhook 请求将具有此 HTTP 请求标头。你可以在下面阅读更多的实现。

    How to secure Twilio webhook URLs in Node.js

    Security

    【讨论】:

      【解决方案2】:
      猜你喜欢
      • 1970-01-01
      • 2013-02-22
      • 2012-04-26
      • 2018-09-21
      • 2020-01-15
      • 1970-01-01
      • 1970-01-01
      • 2018-06-15
      • 1970-01-01
      相关资源
      最近更新 更多