• 100% Organic

    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-Policy header on all resources to control their loading into cross-origin documents.
    • Add the X-Frame-Options header or the Content-Security-Policy (CSP) header's frame-ancestors directive to HTML documents to control iframe embedding into cross-origin pages.
    • Add the Cross-Origin-Opener-Policy header to HTML documents to control communication with cross-origin pages when opened as popup windows.
    • Add appropriate Content-Type headers and X-Content-Type-Options: nosniff headers to all resources to prevent malicious loading from cross-origin contexts.
    Read article
  • 100% Organic

    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
  • 100% Organic

    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
  • 100% Organic

    So, are PWAs actually happening or not?

    Yesterday, I came across this article on Twitter:

    PWA が来るって言っているエンジニアは今すぐ辞めろ

    "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?

    Admittedly, 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
  • 100% Organic

    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