All trainings

Angular Security

XSS, CSP, Trusted Types, OAuth and OIDC – what really protects an Angular application and how your team implements it.

  • 2 Days
  • Intermediate
  • Remote or in-house
  • German & English

Is this training right for your team?

Who it’s for

  • Angular developers
  • Teams whose applications handle logins, tokens or sensitive data
  • Teams preparing for a security audit

Afterwards your team can

  • Prevent XSS in Angular and use Trusted Types
  • Set up a Content Security Policy for their own app
  • Handle tokens in the browser safely and integrate OAuth 2.x/OIDC correctly
  • Check their own application for vulnerabilities

Prerequisites

  • Practical Angular experience
  • Basic knowledge of HTTP and browser security helps but is not required
  • A laptop with your usual development setup

Angular protects against many attacks out of the box – but not all of them, and not when it is used the wrong way. In two days your team learns the basics of browser security, XSS defense with Trusted Types, a Content Security Policy for Angular and how to handle tokens, OAuth 2.x and OIDC safely – with your own application as the example.

Need the framework-independent fundamentals first, or your team doesn’t work with Angular? Then start with Introduction to Web Security.

Agenda

The order and the depth of each block are adapted to your team – topics you already master are skipped, your questions get the time instead.

  1. Browser security fundamentals

    • Same-origin policy and cross-origin resource sharing (CORS)
    • Configuring browser security mechanisms
    • Dealing with malicious JavaScript
  2. Introduction to Cross-Site Scripting (XSS)

    • XSS defense in Angular / DomSanitizer
    • XSS pitfalls in Angular
    • Using Trusted Types with Angular
  3. Applying the Content Security Policy (CSP)

    • Introduction to CSP
    • Common security mistakes in CSP policies
    • Deploying CSP for Angular
    • CSP in practice
    • Secure frontend architectures
  4. Sandboxing untrusted content

    • Architectural security patterns
    • Securing tokens in the browser
    • Advanced OAuth 2.0/2.1 security
  5. Common OAuth 2.x and OIDC deployment patterns

    • Security limitations of OAuth 2.x in frontends
    • Securing frontends with a backend for frontend (BFF)
    • Security recommendations for using OAuth 2.x in Angular
  6. Introduction to testing a web application for vulnerabilities

    • Manual and automated tools
    • Static and dynamic analysis to scan for vulnerabilities

Your trainer

  • Portrait of Martina Kraus

    Martina Kraus

    Google Developer Expert

    Application Security Engineer and Google Developer Expert, speaks about web security at international conferences and co-organizes NG-DE.

    Full profile →
Request a training

Bring this training to your team

For your team only – remote or at your office, on dates that suit you, with examples from your own code base where it helps.

or email [email protected] · By sending you agree to our privacy policy.

Newsletter

Only the latest articles and announcements.

No spam. Promised. By subscribing you agree to our privacy policy.

Swiss Digital ServicesSwiss Made Software
Contact

What else?
Just say hello – Fabian replies within one business day

Address
Offering Solutions Software GmbH
Haldenstrasse 3
8357 Aadorf, Switzerland
Social