Tender Surrender
Dreaming about the future of the web
-
About the Spectre Threat and Headers Websites Should Set
This is a long article, so I'll start with the conclusion.
With the arrival of Spectre, the security requirements for websites have increased. Specifically, the following measures are needed:
- Use the
Cross-Origin-Resource-Policyheader on all resources to control their loading into cross-origin documents. - Add the
X-Frame-Optionsheader or theContent-Security-Policy(CSP) header'sframe-ancestorsdirective to HTML documents to control iframe embedding into cross-origin pages. - Add the
Cross-Origin-Opener-Policyheader to HTML documents to control communication with cross-origin pages when opened as popup windows. - Add appropriate
Content-Typeheaders andX-Content-Type-Options: nosniffheaders to all resources to prevent malicious loading from cross-origin contexts.
- Use the
-
It's been 10 years since I joined Google.
Today marks exactly 10 years since I joined Google as a Developer Advocate. I rarely write blog posts about non-technical topics, but since this is a meaningful milestone, I wanted to take this opportunity to leave a record.
Read article -
How a Passwordless World Is Realized - Understanding the Basics of FIDO2 and WebAuthn
Incidents caused by passwords, such as unauthorized money transfers and account takeovers, show no sign of stopping. While an ideal world would allow anyone—including the elderly and those with limited tech literacy—to manage their online accounts easily and securely, the history of the internet has arguably proven that creating a passwordless world is the foremost priority. And now, FIDO (Fast IDentity Online) is drawing attention as the technology to make passwordless login a reality. Bringing FIDO to the browser is WebAuthn (Web Authentication). Based on media reports and the like, some people might think these are simply about fingerprint authentication, but that is not quite the case.
There are already numerous articles on WebAuthn, so I will leave the technical how-tos to them and focus in this article on the bigger picture—the grand vision of how this technology will reshape the future of digital identity.
Read article -
So, are PWAs actually happening or not?
Yesterday, I came across this article on Twitter:
"Some Goo*le evangelist or engineer was making noise, raving like 'Instagram's PWA is amazing~! You can't even tell it apart from the native app!!' so I tried it out, but it was a total bust."
Could they be talking about this?
Instagram PWA is sooooooo impressive. I probably won't be able to distinguish it with its native app.
— Eiji Kitamura / えーじ (@agektmr) 2018年1月26日
InstagramのPWAが、デキが良すぎて感動してる。ネイティブアプリと見分けられる自信ない。 pic.twitter.com/DS8TfceBZ6Admittedly, my phrasing might have been a bit provocative. However, when it came to Instagram's PWA—the smooth scrolling, being able to apply filters when posting, and so on—saying "I probably won't be able to distinguish it from the native app" was my honest initial impression, and I still use it comfortably today.
That said, I hadn't tested every single feature when I posted that tweet, and there were differences I noticed later on. To be clear, I certainly have no intention of saying native apps are unnecessary because of this. Rather, since the topic has come up, let me take this opportunity to explain PWAs in a bit more detail.
Read article -
Dispelling Common Misconceptions About the Payment Request API
This post is for day 12/8 of the Chromium Browser Advent Calendar 2017. It is a translation of the English version I recently posted on Medium, with some additions tailored for an audience in Japan.
Ever since the Payment Request API made its debut, it has garnered an immense amount of interest. At the same time, because of its complexity, misunderstandings and hype based on inaccurate information have also cropped up. In this article, I would like to clear up common misconceptions I've observed in people's reactions and provide accurate information.
If you don't know what the Payment Request API is in the first place, I recommend starting here.
Read article
