Reputation: 5197
If my mobile app only makes requests using HTTPS to my API, do I need to worry about forcing HTTPS/disallowing HTTP requests?
Upvotes: 0
Views: 40
Reputation: 165201
Yes you do. TLS is susceptible to something known as a Downgrade Attack. So be sure to force it to be HTTPS using HSTS (HTTP Strict Transport Security) and disallowing normal HTTP requests in your application server.
Upvotes: 2