Tender Surrender
Dreaming about the future of the web
-
The basics of passkeys and clearing up misconceptions surrounding them
2023 has undoubtedly become the "first year of passkeys." With so many services supporting passkeys, 2024 is likely to be the year when passkeys finally become widespread.
In this article, we will review the basics of passkeys and explain some common misconceptions about passkeys.
Read more... -
What is a passkey and its challenges?
Passkeys are a new authentication method that is resistant to phishing and easy to use even for non-tech-savvy users, and are said to eventually replace passwords. In this article, we'll summarize the basics of passkeys and what they mean for the future of the web.
Read more... -
SharedArrayBuffer and the transitional story of cross-origin isolation
2021/12/26: Safari also now supports
SharedArrayBufferusing COOP/COEP from version 15.2, so we have changed the notation in the relevant section.This is a long article, so I'll start with the conclusion.
Chrome, Firefox, and Safari now support
SharedArrayBufferand high-resolution timers. To do so, enable cross-origin isolation, which sends the following two headers to the parent HTML document:Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-originHowever, there are various conditions and restrictions to enable this, and many sites will struggle at this stage. If you just want to continue using Chrome as usual for the time being, it may be a safe option to sign up for the Deprecation Trial and see how it goes for a while.
Read more... -
The Spectre threat and the headers websites should set
This is a long article, so I'll start with the conclusion.
The emergence of Spectre has increased the security requirements for websites. Specific measures required are as follows:
- All resources should use the
Cross-Origin-Resource-Policyheader to control loading into cross-origin documents. - HTML documents should include the
X-Frame-Optionsheader or theContent-Security-Policy(CSP) header with theframe-ancestorsdirective to control embedding in an iframe in a cross-origin page. - HTML documents should include the
Cross-Origin-Opener-Policyheader to control communication with cross-origin pages when opened as a popup window. - All resources should include appropriate
Content-TypeandX-Content-Type-Options: nosniffheaders to prevent malicious cross-origin loading.
- All resources should use the
-
It's been 10 years since I joined Google.
Today marks exactly 10 years since I joined Google as a Developer Advocate, a position focused on educating people about technology. I rarely blog about non-technical topics, but this is a good milestone, so I wanted to take this opportunity to record it.
Read more...