News for hackers. Stuff that matters.
Re:API Shouldn't Redirect HTTP to HTTPS by justin_oaks on Tuesday May 28, 2024 @04:23PM (#40505196)
I'll disagree on these grounds:

1) HTTP can be modified by a man in the middle

2) It's better to default to requests and responses being private, even if you're only using a non-commercial/institutional service.

You could say "The person chose to send requests to HTTP instead of HTTPS" and assume that the consumer of the API didn't care about privacy but, as the article points out, it's easy to typo http instead of https.

There are no comments on this comment yet.