Companies Home Search Profile

Angular Security Masterclass (with FREE E-Book)

Focused View

Angular University

7:38:51

95 View
  • 1 - Angular Security Course Helicopter View.mp4
    02:03
  • 2 - IMPORTANT.html
  • 3 - The Typescript Jumpstart Ebook.html
  • 3 - Typescript-Jumpstart-Book-Udemy.pdf
  • 4 - Installing Git Node NPM and Choosing an IDE.mp4
    04:17
  • 5 - Installing The Lessons Code Learn Why Its Essential To Use NPM 5.mp4
    06:05
  • 6 - How To Run Node In TypeScript With Hot Reloading.mp4
    03:57
  • 7 - Guided Tour Of The Sample Application.mp4
    06:01
  • 8 - Client Side Authentication Service API Design.mp4
    04:53
  • 9 - Client Authentication Service Design and Implementation.mp4
    09:15
  • 10 - The New Angular HTTP Client Doing a POST Call To The Server.mp4
    06:08
  • 11 - User Sign Up ServerSide Implementation in Express.mp4
    08:50
  • 12 - Introduction To Cryptographic Hashes A Running Demo.mp4
    05:46
  • 13 - Some Interesting Properties Of Hashing Functions Validating Passwords.mp4
    06:31
  • 14 - Learn Offline Dictionary Attacks Why Use Cryptographic Salting.mp4
    08:22
  • 15 - Password Key Derivation Functions and The Node Crypto Module.mp4
    05:31
  • 16 - Using the Argon 2 Hashing Function In Our Sign Up Backend Service.mp4
    08:09
  • 17 - How To Implement a Password Policy.mp4
    05:08
  • 18 - Displaying ClientSide Password Validation Errors Whats Next.mp4
    06:30
  • 19 - Switch Branches And User Session Management Section Introduction.mp4
    :
  • 20 - Node Util Promisify How to Convert Callback Based APIs to Promisebased.mp4
    04:49
  • 21 - Introduction To Node Async Await Creating a User Session Id.mp4
    08:04
  • 22 - Modeling a User Session Classes Or Interfaces.mp4
    07:02
  • 23 - Browser Cookies How To Use Them For User Session Management.mp4
    08:28
  • 24 - Attack Scenario User Identity Theft Attack Using A ThirdParty Server.mp4
    05:09
  • 25 - How To Better Protect The Session Id Using HTTP Only Cookies.mp4
    02:51
  • 26 - HTTPS Secure Cookies Running the Angular CLI in HTTPS Mode.mp4
    05:21
  • 27 - ClientSide User Session Management Retrieve User Data From Session.mp4
    10:42
  • 28 - An Ancient Vulnerability JSON Hijacking Securing REST Endpoint.mp4
    09:32
  • 29 - Implementing Logout Destroying The User Session.mp4
    07:55
  • 30 - User Login StepbyStep Implementation.mp4
    07:22
  • 31 - Finish Login Functionality and Section Conclusion.mp4
    09:57
  • 32 - JSON Web Tokens Section Introduction.mp4
    04:12
  • 33 - Creating Your First JWT What Does It Look Like.mp4
    02:14
  • 34 - JSON Web Tokens In a Nutshell.mp4
    04:02
  • 35 - JSON Web Tokens In Detail The Header and the Payload.mp4
    07:04
  • 36 - JWT Signature With HS256 How Does It Work Learn What is an HMAC Code.mp4
    09:13
  • 37 - JWT Signature With RS256 Learn The Advantages Compared to HS256.mp4
    08:24
  • 38 - Creating a JWT User Session Setting Subject and Expiration.mp4
    03:17
  • 39 - User Sign Up With JWT Learn How To Combine Cookies and JWTs.mp4
    08:22
  • 40 - ServerSide User Identification Via a Custom Express Middleware.mp4
    09:18
  • 41 - User Retrieval Express Middleware Error Handling With Async Await.mp4
    03:05
  • 42 - Finishing The Implementation Of User Identification Middleware.mp4
    05:47
  • 43 - Backend JWTbased Security Using an Express Middleware.mp4
    06:40
  • 44 - JWTbased Authentication Section Conclusion and Whats Next.mp4
    04:08
  • 45 - Understanding CSRF StepbyStep Attack Simulation.mp4
    09:34
  • 46 - CSRF In Detail Understanding Attack Limitations.mp4
    07:08
  • 47 - Implementing the CSRF Double Submit Cookie Defense Server Implementation.mp4
    12:34
  • 48 - How To Defense Our Application Against CSRF Client And Server Defenses.mp4
    09:01
  • 49 - Auth0 Section Introduction Using JWTs to Delegate Authentication To 3rd Party.mp4
    05:25
  • 50 - Integrating a 3rd Party Authentication Provider Auth0.mp4
    04:45
  • 51 - Setting Up an Auth0 Externally Hosted Login Page.mp4
    05:32
  • 52 - How does Auth0 Authentication Work Logging In a User.mp4
    05:39
  • 53 - Receiving The Auth0 JWT at Application Startup with parseHash.mp4
    05:33
  • 54 - Storing the Auth0 JWT In Local Storage.mp4
    04:52
  • 55 - Adapting the UI To the User Login Status.mp4
    07:56
  • 56 - Angular HTTP Interceptor Build an Authentication Interceptor.mp4
    09:21
  • 57 - JWT Authentication with expressjwt and JSON Web Key Set Backend Design.mp4
    07:13
  • 58 - Auth0 JWTbased Authentication Backend Implementation.mp4
    10:12
  • 59 - User Sign Up Requesting Permission to Use Users Email.mp4
    05:26
  • 60 - User Signup and User Preferences Frontend Implementation.mp4
    05:19
  • 61 - User Signup and User Profile ServerSide Implementation.mp4
    06:03
  • 62 - Section Summary The Main Benefit of JWTs.mp4
    04:02
  • 63 - RBAC RoleBased Authorization Section Introduction.mp4
    05:04
  • 64 - Setting Up The RBAC Solution Adding Roles to our JWT.mp4
    06:53
  • 65 - Angular RBAC Authorization Solution Overview.mp4
    04:06
  • 66 - Backend Express Authorization Route Design Overview.mp4
    05:38
  • 67 - Backend Express Authorization Route Implementation and Demo.mp4
    05:36
  • 68 - The Admin Login As User Backend Service.mp4
    06:10
  • 69 - UI RBAC Authorization With The rbacAllow Structural Directive.mp4
    05:47
  • 70 - The rbacAllow Structural Directive Final Implementation and Demo.mp4
    09:58
  • 71 - Authorization Router Guard Initial Implementation.mp4
    06:50
  • 72 - Authorization Router Guard Completed Configuring a Factory Provider.mp4
    08:29
  • 73 - Bonus Lecture.html
  • 74 - Conclusion and Key Takeaways.mp4
    08:21
  • Description


    Practical Guide to Angular Security - Add Authentication / Authorization (from scratch) to an Angular / Node App

    What You'll Learn?


    • Code in Github repository with downloadable ZIP files per section
    • Get a solid foundation in Web Security Fundamentals
    • Perform the attacks yourself manually, in order to fully understand them
    • Understand and Defend an Application against common security attacks, such as Dictionary Attacks, Cross-Site Request Forgery, etc.
    • Understand JWT in-depth, including the multiple signature types
    • Design and Implement Application Authentication and Authorization from scratch
    • Know how to add Authentication to an Angular Application using JWTs (and traditional Server Sessions)
    • Know how to add RBAC (Role based Access control) Authorization to an Angular application

    Who is this for?


  • Angular Developers looking to learn in-depth Web Application Security in the specific context of an Angular Application
  • More details


    Description

    The course is an Web Application Security Fundamentals Course, where the application will use the Angular/Node stack.

    All the server code is in Typescript, but the security concepts explained in it are applicable to other technology stacks.

    This course includes an auxiliary Ebook - The Typescript Jumpstart Ebook

    We will use several MIT licensed Angular and Node packages from Auth0 (that you could use in your application), and we will also include a demo of how to use Auth0 for doing Application User Management.

    Its important to realize that this is NOT an Auth0 specific course. Auth0 will be the source of a couple of open source packages we will use, and will be doing a quick demo of it to show how JWT makes it simple to delegate authentication to a third-party system, which could be developed in-house as well.

    Security - A Fundamental Step in a Software Development Career

    Security is probably the number one advanced topic that Software Developers are expected to master when going forward in their software development careers.

    Security knowledge is hard to come by but its essential for advancing to more senior software development positions, like for example Application Architect or similar.

    Learning Web Security Fundamentals, knowing how to design an application for security, and knowing how to recognize and fix security issues is an essential skill for a senior developer.

    But the problem is that security knowledge is orthogonal to most other topics and it typically takes years to learn.

    The good news is that once you have it, Security knowledge has a much longer shelf live than most software development knowledge in general.

    Most of the vulnerabilities and fixes that you will learn in this course were useful 10 years ago, and will (very likely) still be useful 10 years from now - Angular and Node are just an example of one stack, to make the course examples more practical.

    Security is seen as something really hard to master - this is actually not the case! Application Security is much more approachable than you might think, depending on how you learn it.

    What Is The Best Way To Learn Security in a Fun and Practical Way?

    Here is what we will do: we are going to take the skeleton of a running application that has no security yet, and we are going to secure the application step-by-step.

    Using a couple of MIT packages from Auth0 (that you would be able to use in any project), we are going to implement the Sign-Up and Login functionality from scratch, and because security cannot be enforced only at the client-side, we will implement both the frontend in Angular and the backend in Node.

    As we secure the application, and we are going to periodically attack the application many times during the course, to prove that the vulnerabilities are real!!

    By doing so, we will learn along the way the fundamentals of Authentication and Authorization, we will become familiar with common vulnerabilities like Dictionary Attacks, CSRF and others, and we will get familiar with commonly used cryptographic tools like Hashing, Salting, JWT, password storage recommendations and more.

    Please don't be intimidated by these concepts: The focus in this course will not be on the internals of each of the cryptographic tools that we will use, but instead on understanding on a high-level what problems do these tools solve, when to use each and why.

    We will also learn how to design our application for security, and we will learn how in many situations application design is ou best defense.

    Course Overview

    We will start at the beginning: we will see the proper way of doing User Management and Sign Up: we will learn how to store passwords in a database, and we will introduce cryptographic hashes in an approachable way.

    Once we have the Sign-Up functionality in place, we will implement Login and understand the need for a temporary identity token. Our first implementation will be stateful login, where the token is kept at the server level.

    And at this point we could think we have authentication in place, but we decide to prepare our application for scalability, so we decide to try a JWT (JSON Web Tokens) based approach, because we know that this is what services like Firebase and Auth0 use.

    We will use a couple of Auth0 packages to quickly refactor our Login to be JWT based, and learn the advantages of using JWT, and some potential disadvantages as well.

    We will then see how its also possible to do Authentication using a third-party JWT-based service like Auth0, effectively removing all authentication logic from both our codebase and our database, and delegating it to a third-party service.

    Note that this Auth0-specific part is only a small part of the course, and its main goal is to show how its possible at an enterprise level to delegate authentication to a centralized service, whithout having to introduce direct communication between applications and the centralized authentication service.

    This means that if you can't use Auth0 at your company, you can apply the same design principles and design a JWT-solution that delegates authentication to a centralized server behind the firewall.

    We will then cover how to do UI-level role-based functionality in Angular using the Angular Router, and a custom directive for showing or hiding certain parts of the UI depending on the role of the user. We will learn why the Router cannot enforce actual security.

    We will also talk about server-side Authorization, and we will implement a commonly needed security-related Admin Level functionality: The Login As User service, that allows an admin to login as any user, to investigate a problem report. We can see why we would need to secure this functionality!

    At the end of all these vulnerabilities and security fixes, we will have a well secured application and we will have learned a ton of security-related concepts along the way in a fun and practical way!

    What Will you Learn In this Course?

    With this course, you will have a rock-solid foundation on Web Application Security Fundamentals, and you will have gained the practical experience of applying those concepts by defending an application from a series of security attacks. You will have done so by actually performing many of the attacks!

    You will have learned these concepts in the context of an Angular/Node application, but these concepts are applicable to any other technology stack.

    You will learn what built-in mechanisms does Angular provide to defend against security problems, and what vulnerabilities it does NOT defend against and why.

    You will be familiar with best practices for password storage, custom authentication service design and implementation, you will know the essentials about cryptographic hashes, be familiar with JWT and several commonly used open source Auth0 packages.

    You will be familiar with the following security vulnerabilities: Dictionary attacks, identity token highjacking techniques, the browser same-origin policy, how to combine cookies with JWTs and why, Cross--Site Request Forgery or CSRF, common design vulnerabilities, and more.

    You will know common practical solutions for securing both enterprise and public internet applications, such as how to use JWT to delegate authentication to a centralized service, which could be Auth0 or a in-house developed service that follows similar principles.

    You will know how to implement UI-level authorization and use client-side constructs like Router guards to implement it and even build your own authorization-related UI directives.

    You will also learn about server side authorization, and how to implement a commonly needed backend service that is only accessible to Admins - Login As User.

    What Will You Be Able to do at the End Of This Course?

    This course could help you take your development career to a more senior level, where the knowledge about web application security is essential and a key differentiating factor.

    If you are a private internet business owner or thinking of launching your own platform, this course will contain most of what you need in practice to secure your own online platform in a robust and effective way.

    With this course, you will have the knowledge necessary for evaluating many third-party security-related solutions, and you will know where to look for vulnerabilities in your application.

    You will be able to understand most application-level vulnerability reports that come out of security audits done by third party companies, and you will be able to understand and fix the most commonly reported problems.

    Who this course is for:

    • Angular Developers looking to learn in-depth Web Application Security in the specific context of an Angular Application

    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Angular University
    Angular University
    Instructor's Courses
    Hello, I'm Vasco Cavalheiro and I'm an online instructor at the Angular University.Over the years I have helped over 100k developers to learn the Angular framework and its surrounding ecosystem of technologies.Check out my Linkedin in the links section on the top right.About the Angular University:The Angular University aims to be the one place that you go in order to learn and keep up with the whole Angular ecosystem. We provide premium quality video tutorials, screencast style.No matter if you are a beginner, intermediate or advanced in Angular, we have several courses for you.More about me:I'm a Software Developer with many years of experience, very seasoned building user interfaces with Angular. I've worked as a Frontend Developer/Architect in a large variety of enterprise projects throughout the years.   I worked on a ton of projects, everything from single page applications to help build the European Criminal Record Information Exchange System, to brand new e-banking portals, to corporate banking portals, and more. I've been a key part of internal framework teams that built frameworks for in-house departments of tens of developers. I also love to teach, write and talk about technology.  I am looking forward to be your Angular instructor,Kind Regards,Vasco
    Students take courses primarily to improve job-related skills.Some courses generate credit toward technical certification. Udemy has made a special effort to attract corporate trainers seeking to create coursework for employees of their company.
    • language english
    • Training sessions 71
    • duration 7:38:51
    • English subtitles has
    • Release Date 2023/05/05