Question library
Questions from real interviews. Drill any of them by voice in a couple of minutes, with an interviewer, a score and feedback.
What is an XSS attack, and how does the frontend protect against it?JuniorWhere would you store the auth token in an SPA, in localStorage or in a cookie, and which attacks does that protect against and which doesn't it?Mid-levelHow do you protect a frontend against XSS, and how would you roll out a Content Security Policy in a large application that's already in production?Senior