by codedokode · 11y ago · 0 comments
Maybe the root problem lies in HSTS and browsers using HTTP by default (because that is why we need HSTS)?
And disallow (non-CORS-allowed) cross-domain JavaScript and CSS.
But I don't think this solves the whole problem, as the time to "redirect + load https image" v. "HSTS redirect + load https image" is probably significant enough of a difference to timing attack. In which case you just need to time the onload of an image (or similar resource).