Want to learn more about OAuth 2.0 and OpenID Connect?
Save yourself days of digging through dozens of specs with this online course
More informationSecurity patterns for keeping secrets in the browser
This page contains the resources for the talk titled 'Security patterns for keeping secrets in the browser'.
Abstract
Modern applications often rely on storing data in the browser. A simple scenario is keeping a JWT token in localStorage. A more complex scenario is keeping application data in the browser to enable offline use. Unfortunately, the security properties of these mechanisms are less than stellar. Device-based access or XSS attacks easily result in the compromise of sensitive data.
In this talk, we investigate the strengths and weaknesses of browser-based storage mechanisms. We explore various security strategies to protect sensitive data. We even propose a way to protect data against physical access to the device. Throughout the talk, we build up a set of security patterns for frontend developers. You will walk away with practical guidelines for storing data in frontend applications.
Recording
About Dr. Philippe De Ryck
Hi, I'm Philippe, and I help developers protect companies through better web security. Learn more about my security training program, advisory services, or check out my recorded conference talks.
Dr. Philippe De Ryck
Hi, I'm Philippe, and I help developers protect companies through better web security. As the founder of Pragmatic Web Security, I travel the world to teach practitioners the ins and outs of building secure software.
Talks and workshops
You will often find me speaking and teaching at public and private events around the world. My talks always encourage developers to step up and get security right.
Articles
Security is often about small nuances. In my articles, I dive deeper into various security topics, providing concrete guidelines and advice. My articles also answer questions I often get while speaking or teaching.
Security resources
Getting security right is all about knowledge. I strongly believe in sharing that knowledge to move forward as a community. Among my resources, you can find developer cheat sheets, recorded talks, and extensive slide decks.
Mailing list
Subscribe to the Pragmatic Web Security mailing list to stay up to date on the latest activities and resources.