Uploaded July 2018 | Updated December 2026, 3 hours ago
Talk title: You use Content Security Policy, don’t you?
The point of my talk is to explain what the importance of Content Security Policy is. What it is, why do we need it and how we can use it. Plus I’ll do some live coding during the talk.
The talk will begin with stories of the most notorious and infamous attacks conducted by exploiting front-end based security holes. Right after that, I’ll move into an explanation of XSS attacks (one of the most dangerous front-end issues). I’ll explain what an XSS attack is, how hackers usually perform it, and what makes websites XSS vulnerable. Then, I’ll move to the live coding part. I’ve prepared a website (blog) which I’ll hack by stealing session cookie by using XSS. After a successful attack, I’ll explain what Content Security Policy is and how this mechanism can help in making websites XSS resistant. I’ll present different CSP directives and explain what they do. I’ll configure my local server to use CSP, and try to perform the same attack as before to prove that after the patch it’s unsuccessful. Then I’ll move to CSP cons. I’ll cover the hard maintainability and problems with third party libs and frameworks.
Kacper Sokołowski
Senior front-end developer
My name is Kacper Sokołowski. I live in Kraków, Poland. For the last four years, I have been working for Codewise as a JavaScript developer. My job has mostly been building Single Page Applications. Through all this time I was given the possibility to use many different technologies (YUI, Angular, Typescript and Polymer just to name a few).
A couple of years ago I realised that my knowledge could be valuable for other people. That’s when I have decided to become a speaker at local community meetups (called meet.js). I have prepared a couple of presentations (covering different topics like Shadow Dom and Web Components) for meet.js. I was eventually asked to become one of the organisers of the meetup itself. Meet.js is a monthly meetup during which we discuss front-end related topics. We usually have 3 to 4 speakers and at least 100 hundred attendees! I believe strongly in serving the community and attending conferences as the best way of sharing knowledge and becoming better programmers eventually.
Talk title: You use Content Security Policy, don’t you?
The point of my talk is to explain what the importance of Content Security Policy is. What it is, why do we need it and how we can use it. Plus I’ll do some live coding during the talk.
The talk will begin with stories of the most notorious and infamous attacks conducted by exploiting front-end based security holes. Right after that, I’ll move into an explanation of XSS attacks (one of the most dangerous front-end issues). I’ll explain what an XSS attack is, how hackers usually perform it, and what makes websites XSS vulnerable. Then, I’ll move to the live coding part. I’ve prepared a website (blog) which I’ll hack by stealing session cookie by using XSS. After a successful attack, I’ll explain what Content Security Policy is and how this mechanism can help in making websites XSS resistant. I’ll present different CSP directives and explain what they do. I’ll configure my local server to use CSP, and try to perform the same attack as before to prove that after the patch it’s unsuccessful. Then I’ll move to CSP cons. I’ll cover the hard maintainability and problems with third party libs and frameworks.
Kacper Sokołowski
Senior front-end developer
My name is Kacper Sokołowski. I live in Kraków, Poland. For the last four years, I have been working for Codewise as a JavaScript developer. My job has mostly been building Single Page Applications. Through all this time I was given the possibility to use many different technologies (YUI, Angular, Typescript and Polymer just to name a few).
A couple of years ago I realised that my knowledge could be valuable for other people. That’s when I have decided to become a speaker at local community meetups (called meet.js). I have prepared a couple of presentations (covering different topics like Shadow Dom and Web Components) for meet.js. I was eventually asked to become one of the organisers of the meetup itself. Meet.js is a monthly meetup during which we discuss front-end related topics. We usually have 3 to 4 speakers and at least 100 hundred attendees! I believe strongly in serving the community and attending conferences as the best way of sharing knowledge and becoming better programmers eventually.










