Better HN
topnewbestaskshowjobs
Log inSign up

AfroThundr

3 karma · joined Sep 10, 2016 (10y ago) · 3 submissions

Nothing to see here...

[ my public key: https://keybase.io/afrothundr; my proof: https://keybase.io/afrothundr/sigs/oF1wvpsWy7VDpPhiSKDPoUzb_bysFBjWSBIjt9B00Sk ]

Submissions

comment 7y ago · link · parent

I remember when I first ran into this with Python classes, and had to learn how the Method Resolution Order worked. They use the C3 linearization algorithm to sole this problem (at least for Python 3 and new-style classes).

https://en.wikipedia.org/wiki/C3_linearization

comment 9y ago · link · parent

One primary example would be sites like software repository mirrors, where the majority of content is signed already, and serving them over HTTPS provides negligible benefit to your users (other than the slight confidentiality increase in that an adversary wouldn't know what exactly you downloaded), as opposed to a site serving active content like JavaScript and CSS, which can have disastrous results to the users if an adversary tampers with them.

The latter example is where HSTS becomes an invaluable tool, since now the only way those resources could be delivered is through a trusted channel, verified by the PKI. The same value is not there for a software mirror, because of the other security safeguards already implemented, removing the need to trust the delivery channel. That said, most still do server their content over HTTPS as well.

comment 9y ago · link · parent

I'm fairly certain a large number of users would still click allow without a second glance, much like hitting "allow macros" in an office document. They just want the annoying dialog to go away.