Book Image

Securing Applications in Node.js [Video]

By : Forbes Lindesay
Book Image

Securing Applications in Node.js [Video]

By: Forbes Lindesay

Overview of this book

<p><span id="description" class="sugar_field">Everyone agrees that web application security is very important but there are very few to take it seriously. There have been lots of high-profile instances of websites having their password databases exposed to the World (e.g. Ashley Madison and Adobe). You don’t want the application you are building to be the next big security horror story. This course will get you up-to-speed on the key attack vectors, quickly covering issues such as cross-site scripting, CSRF, and SQL injection. It will provide you with clear, practical approaches to mitigating these problems. It will show you how to implement OAuth and two-factor authentication for the additional protection of users who need it. Further, we will delve into the critical process of adding secured, well-thought-out authentication and authorization to a Node.js application. After completing this course, you should be confident in your ability to make an application secure with Node.js and keep your data protected.</span></p> <p><span id="description" class="sugar_field">All the code and supporting files for this course are available on Github at <a style="font-weight: normal;" href="https://github.com/PacktPublishing/Securing-Applications-in-Node.js-V-" target="_new">https://github.com/PacktPublishing/Securing-Applications-in-Node.js-V-</a></span></p> <h1>Style and Approach</h1> <p>This course provides step-by-step instructions along with the required implementations showcasing various security issues and ways to mitigate them. The author also highlights some practical examples wherever applicable during the course.</p>
Table of Contents (7 chapters)
Chapter 7
Authorization, Deployment and Managing Secret Keys
Content Locked
Section 3
Authorization in GraphQL
GraphQL, and techniques like it, are rapidly catching up with REST in popularity. It’s just as important, if not more important, that students understand how to securely verify permissions in a GraphQL API. - Describe how to add the current user to the query context, and block un-authenticated users at this level - Describe how to do resolver level authorization - Describe how to do data model level authorization