Re:Why SSL was renamed to TLS in late 90s (2014)
by account42 on Monday June 16, 2025 @04:45AM
(#44287684)
It doesn't solve the problem of a client having to treat https:// and http:// URLs with the same string after the :// as distinct resources.
[ Parent
| on HN ]
Re:Why SSL was renamed to TLS in late 90s (2014)
by dotancohen on Monday June 16, 2025 @07:09AM
(#44288446)
Are there any real world online resources where, modulo redirect, a different resource is presented on the HTTP and the HTTPS protocols? Or alternatively, on ports 80 and 443?
Re:Why SSL was renamed to TLS in late 90s (2014)
by ekr____ on Monday June 16, 2025 @08:29AM
(#44288925)
There used to be, though it's less true now. However, the reason to treat them distinctly (as different origins, technically) is that HTTPS provides integrity whereas HTTP does not. So, consider the case where the client enters an HTTP URL and is redirected, just as you say above. If the attacker injects their own JS and it is cached in an origin that is just `example.com`, then they control the user's experience of the site, even if later the user securely goes to the site with HTTPS.
Re:Why SSL was renamed to TLS in late 90s (2014)
by dotancohen on Monday June 16, 2025 @01:15PM
(#44291414)
Thank you. That really is a novel attack that I didn't think of.