codeforamerica / balance

A text message system for checking one's EBT card balance (SNAP benefits and more)
MIT License
47 stars 37 forks source link

Verify all requests come from Twilio #246

Open daguar opened 9 years ago

daguar commented 9 years ago

Per https://www.twilio.com/docs/security#validating-requests

This is a good level of due-diligence around security, and not that hard to implement.

monfresh commented 9 years ago

It's very easy to implement. Here's how I did it in Ohana SMS: https://github.com/monfresh/ohana-sms/commit/f69a0d861d5e8f86c1cef7d1fe5396a85d1bdf21