~/talk

Boosting the security of your Angular 2 application

Talkat NG-BE 2016 · 2016-12-08..12-09· [angular, security]
slides:none on file

Angular 2 claims to stop XSS by auto-escapes and sanitizes untrusted data, and it offers an ahead-of-time compilation path that prevents template-injection when templates are compiled before shipping. The recommended defenses are Content Security Policy with nonce + strict-dynamic and report-uri monitoring; Google finds 95% of CSP policies bypassable when naively whitelisting CDNs. Demos show CSP blocking inline scripts and nonced scripts working; AOT removes client-side template attack surface.

AI-written summary · about

  1. 0:00Introduction
  2. 0:58Browser exploitation framework
  3. 1:49About me
  4. 2:21Crosssite scripting
  5. 3:41Defending against crosssite scripting
  6. 10:35Dont disable sanitizer
  7. 11:22Takeaways
  8. 13:41Expression Sandbox
  9. 14:25Ahead of time compilation
  10. 15:13Get rid of template injection
  11. 15:37Handling crosssite scripting
  12. 16:13Content Security Policy
  13. 18:57Whitelisting
  14. 21:21Strict Dynamic
  15. 23:24CSP Policy
  16. 28:08CSP Lockdown
  17. 29:14Conclusion
  18. 29:45Outro
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.