News for hackers. Stuff that matters.
Re:HTTPS website+API, confusion about best practices? by GauntletWizard on Tuesday November 30, 2021 @12:33AM (#29389289)
I'm of the (weak) opinion that if you have www.coolapp and api.coolapp, you should have port 80 closed on api. - don't even serve redirects. Any legitimate traffic would be broken anyway, and it prevents you from even accidentally doing something stupid like serving a cookie without secure, or receiving (unencrypted) a token from a misconfigured client.

There are no comments on this comment yet.