7. Basics to secure my ng app!
• Securing the server
• Prevent Man-in-the-middle
• Prevent XSS with NG Sanitize
• Prevent XSRF
• Prevent JSON Injection
34. Solution!
• Server sets a session cookie XSRF-TOKEN
• $http extracts this token
• $http attaches it as a header X-XSRF-TOKEN
• Token, auth cookie digest with added salt!
yummy!
46. Who am I?
!
http://mahtonu.wordpress.com
Vantage Labs Dhaka
@mahtonu
Authored the title “PHP
Application Development with
NetBeans: Beginner's Guide”
http://link.packtpub.com/6HaElo