---
title: "Web Security Talks"
description: "My web security talks cover cross-site scripting, Content Security Policy, Unicode risks, secure login and cookie sessions, and the browser supply chain."
url: https://tn-data.se/talks/web-security/
type: talk
lang: en
alternate: https://tn-data.se/sv/foredrag/webbsakerhet.md
date: 2021-11-11
site: https://tn-data.se/
image: https://tn-data.se/_astro/22.Ckb_SHTj_ZIT3Lc.webp
---

# Web Security Talks

> Talks on how attacks on web applications work and how to stop them: XSS, Content Security Policy, stolen sessions and the browser supply chain.

## Talks about Web Security

I have created the following talks about web security: how real attacks work and how to defend against them.

### Your Dependency Is Not My Dependency – Defending the browser supply chain

You shipped a clean build. Your tests passed. Then a third-party script your page loads got compromised. Now your users are the breach.  

Modern browser pages execute code from sources you don't build, don't host, and sometimes don't even know about. While we spent years shifting security left, attackers shifted right, into the package ecosystem, the CDN, the runtime.  

This talk shows how client-side supply chain attacks actually work and what you can do about them using tools already built into the browser: CSP reporting, Subresource Integrity, and runtime telemetry. You'll leave knowing what your page is really running, and what to do about it on Monday morning.

### Securing User Logins and Cookie Sessions

Stolen browser cookies and phishing attacks are real threats to modern web applications. Even users with strong passwords and two-factor authentication (2FA) can still be compromised.

In this session, we will look at how attackers steal session cookies, what happens when a cookie is hijacked, and how to detect and respond to these attacks. You will also see why mobile authenticator apps are not as safe as many believe, and how attackers can bypass 2FA even when one-time codes are used.

You will leave with practical strategies to protect user logins and sessions, improve session security, and reduce the risk of account takeovers.

### Unicode: Understanding Risks and Defences

This presentation focuses on Unicode, a common attack vector in web security. We'll explore encoding basics, comparing UTF-8 and UTF-16, and how Unicode can be misused in cyber-attacks, including phishing. Understanding these risks helps us strengthen our defences against these tactics.

### Cross-site scripting (XSS)

XSS is one of the most common and dangerous attacks that we can encounter as a web developer. In this talk, I will introduce you to what XSS is and also explain how to protect yourself from XSS attacks.

### Fail at Web Security

Security on the web is difficult because so many different aspects and technologies are involved in our applications. Protecting yourself is a balancing act of risk and a constant race to know about new safety holes. I will show you what can happen if you get hacked and examples of how to protect against this.  

We will also review examples of online intrusions, how these can be used against you, and what can be done about it. It's a good idea to be proactive with security on the web. Take care of the risks before they take care of you!

### Fighting XSS with Content Security Policy

In this talk, we take a closer look at Content Security Policy (CSP) and how this feature in our browsers can prevent XSS attacks and other security attacks. This talk assumes you have attended the _Cross-site scripting (XSS)_ talk.

### Introduction to Web Security

IT security is difficult because there are so many different aspects and technologies involved in our everyday lives. Protecting yourself is a balancing act of risk and a constant race to know about new safety holes. During this lecture, I show what can happen if you don't care about security and what we can do to protect ourselves in our everyday lives as computer users. 

We go through practical examples of security problems, how these can be used against you, and what can be done about it. It's a good idea to be proactive with security on the web. Take care of the risks before they take care of you!

For more talks, visit my [Talks](https://tn-data.se/talks/) page.

---

#### Interested In A Talk?

[Contact me](https://tn-data.se/contact/) for a price or to book a talk. I can also create a talk for your needs.

#### About the Speaker

My name is [Tore Nestenius](https://tn-data.se/about/). Since 2010 I have given several hundred talks and courses, for companies, user groups and conferences such as NDC, Øredev and Swetugg. I speak on-site and remotely, in English or Swedish.

![Tore Nestenius presenting at the .NET Skåne user group in Malmö, December 2024 about Rebuilding the Task and ThreadPool Concepts in .NET.](https://tn-data.se/_astro/PXL_20241211_183824460.MP_-1024x576.MVACcEb5_Z29HHAd.webp) ![Photo of Tore Nestenius, presenting at a meetup in Malmö, Sweden.](https://tn-data.se/_astro/tore_servic_03.BkRW4CYW_Z2p079e.webp)
