Better HN
topnewbestaskshowjobs
Log inSign up

buboard

6,145 karma · joined May 12, 2014 (12y ago) · 5,355 submissions

Highly paid FAANG veteran working on that product that we make
Submissions

comment 7y ago · link · parent

tying it to a domain name (which is the typical use of the URL) breaks the web though. i could understand if the key is used to show that the origin is a twitter account handle or something, but breaking the semantics of the domain by signing the content doesn't make any functional sense. Other than putting lipstick on a pig (AMP) of course

comment 7y ago · link · parent

> why have so few websites done it?

Because the vast majority of websites are reasonably fast on mobile? Loading times of 1,2 or 5 seconds are a non-problem that amp is addressing. The worst offenders i see are too high res images and autoplay videos, but frankly i cant remember seeing any of those recently. Most blogs/news sites are fine. Where is google sourcing their data that users are desperate for web-breaking solutions that bring them 200msec response times? The purpose of AMP is so that people flick a website instantly and then go back to google. That's obviously not in the interest of the publishers. The whinefest is because google is actively prioritizing amp publishers thus forcing it on the web.

> Coercion is exactly what's needed to push

this is not a defensible statement

> a world-class CDN that many website owners

facebook needs a world-class cdn, not blogs.

> a clear, marketable incentive to develop a mobile-efficient websit

the "marketable incentive" is the de-ranking of the site. It's entirely unnecessary to force amp for that, a simple page speed deranking would do

comment 7y ago · link · parent

There are 100 ways to steal credentials if you manage to convince the user that it’s safe to start typing in the page, since you can serve malicious js that way.

I really don’t understand why the browser would masquerade the url just because the content is signed. At best it is able to say ‘the content is signed with x’s key’

comment 7y ago · link · parent

Yandex for image search

comment 7y ago · link · parent

Photographers should be already looking for another job or try some warzones. Cant beat the variety of AI models and photos.

Also, i think the article is wrong, stock sites have become ridiculously expensive, with shady subscriptions and daily limits and all. Sorry guys, it s a new century. Few people need print-resolution photos anymore

comment 7y ago · link · parent

it should also be required to be "reasonably affordable" (this is more for TV rather than online, but it could mean an upper limit on bids)

comment 7y ago · link · parent

> The purpose of SXG is to allow publisher signing of edge-cache accelerated public content

Is there a rule that SXG content can't contain forms or sth?

comment 7y ago · link · parent

> They can't inject anything into the page

assuming that someone finds a way to sign a malicious Html page (e.g. by sneaking into the editors office) they can serve it from anywhere, and the browser will pretend it's coming from the bank

comment 7y ago · link · parent

> signed by our computers using our private keys before delivery to you

Please try to explain that to an everyday grandma.

I still dont' see how it's an improvement. The file can be masqueraded by an arbitrary server god knows where and still be served as valid to me. Anyone who has the file can intercept the form data from that page now - a complete phishing attack. There are so many things that can go horribly wrong it just makes one wonder what's wrong with googlers these days: https://blog.intelx.io/2019/04/15/a-new-type-of-http-client-...

1450.

Signed HTTP Exchanges Considered Harmful(blog.intelx.io ↗)

2 points · by buboard · 7y ago · discuss

comment 7y ago · link · parent

so that means i can sign a page on the editor's computer, take it with me and serve it to amp from my website? that sounds even more dangerous tbh. it delegates security from people who may know a little bit about it (web hosts) to people who likely know nothing about it (writers)

what happens if someone's key is stolen and they need to re-issue it? All the previously published copies are now invalid?

comment 7y ago · link · parent

yeah but effective controlled speech is worse

comment 7y ago · link · parent

> RFC 3986 goes out of it's way

the RFC uses the word "host" and not "signer". It also says that the "host" is intented to be looked up in some service registry, and there is no such thing for arbitrary signers.

> exactly and concretely, is that expectation

One of the common security advice banks used to give is "check your browser address that you are in our server"

> just why would they need signed exchanges

with signed exchanges they can fool amp to cache the page long after it has been deleted from the server

comment 7y ago · link · parent

> "host" hasn't been a host in a long time,

Does SXG make this better or worse?

> ensures that it was created using the private keys

signing at the server ensures that it was created using the key AND served from a host they control. How is that not better?

> you can't represent your content

wouldn't the server sign all http responses by default? all you would need to do is upload a file

comment 7y ago · link · parent

i don't know what's the max expiration for amp's cache, but i could set a really-long expiration date on the file and remove it from the server without the bank ever knowing it existed. SGX don't even require an upload - one disgruntled employee could do the same with a stolen key.

Nobody benefits from this shit than google. Do we really need more attack surfaces?

comment 7y ago · link · parent

> "damned if you do, damned if you don't"

It's a false dilemma. There's a lesser evil of the two, that the west chose 300 years ago - free speech. We are now just rediscovering that wheel the hard way.

comment 7y ago · link · parent

Can you name such a site that is impossible to use? I 'm quite sure it sees so few visitors that it doesn't care for disappointing them. And if they re bloated as hell - why would they care about amp anyway?

comment 7y ago · link · parent

first, it breaks the URL specification, as the "host" is no longer a host. it breaks user's expectation of one of the VERY FEW things that everyday users understand about the internet.

one may manage to upload an html file to the bank's server and serve a -signed- page that google amp will cache, and then use it to phish customers from within the bank's domain. Or just use a stolen key to make thousands of such pages before the bank finds out. I think , contrary to what you say, it's a brand new, major attack surface.

comment 7y ago · link · parent

The total political ad revenue for 2016 was $1.8 billion. It's not that big

> is worth the public backlash

There will be backlash with or without ads. Twitter will also get a lot of blaming for not allowing small parties to have a voice.

comment 7y ago · link · parent

Phishing

comment 7y ago · link · parent

> to make AMP redundant outside

First, AMP is already redundant. it doesnt offer anything that stripped-down html can't do. The primary reason sites choose it is because google ranks the pages higher! it's purely coercive.

Second , it's not as if AMP has taken over the web. But this coercion has to stop. Third, it's real easy to make a faster website with 10 minutes of work. I 'm not sure we need some kind of activism to stop amp i do believe it will crash on its own as soon as most sites look exactly alike and start losing revenues. But until then ... maybe ban AMP links?

comment 7y ago · link · parent

a website owner converting to amp is no longer an owner, it's a gig worker for google.

comment 7y ago · link · parent

there are so many better ways that google could solve this issue other than amp (derank sites for slow devices / mark them as slow / pass a parameter for slow-phone visitors / create a chrome version for slow devices). AMP is a dictatorial attempt to keep websites forever bound and limited to what google is offering.

comment 7y ago · link · parent

> just to browse the web.

I must be crazy because i never had a catastrophic issue with an iphone 8 - with an adblocker. If ads are the problem, well guess who is serving those ads.

AMP doesn't even scale anyway - it will bloat like HTML pages bloat over time, because web ppl have a bad habit of only adding things to sites, not removing. What happens then? We invent Amp-html2 to fix amp? AMP is a very-ill-thought bandaid to a culture problem that can be solved with simple nudges (have people forgotten what seismic changes happen to the web every time google rolls out a new SEO algorithm?). Amp s probably the silliest tech idea of the decade.

comment 7y ago · link · parent

Seriously, is html performance a real issue? Mobile traffic keeps growiong and growing and growing, according to google, who now crawls most sites mobile-first! Phones have 4 cores and download 300-MB games daily. There is absolutely no need for this abomination. If it cared, google could threaten to derank slow sites for slow phones and the average website size would be slashed to half in a week!

> AMP gives little guys, the ones starting blogs and trying to grow, a shot at freedom of speech.

woosh, i now realize u re joking

comment 7y ago · link · parent

oh wow, Signed Exchanges are worse than AMP!

"make sure you are visiting mybanksite.com" is no longer safe.

comment 7y ago · link · parent

> I wouldn't be surprised if users start naturally gravitating to these pages for the better experience.

If this were true at all, these sites would have lost their mobile traffic. At worst, google could downrank them. This whole AMP thing is a glaringly terrible idea and such an incredible arm-twisting that should be scaring developers away from google.

It's not difficult to see amp for what it is: an evil attempt to turn websites to "web snippet producers" that can only be monetized via google or die. It's web feudalism.

1
484950
179