mergesort
mergesort

Reputation: 5197

Should I need to force HTTPS from a mobile app to API?

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

Answers (1)

ircmaxell
ircmaxell

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

Related Questions