© Christopher Pitt 2018
Christopher PittThe Definitive Guide to AdonisJshttps://doi.org/10.1007/978-1-4842-3390-0_12

12. Security

Christopher Pitt1 
(1)
Cape Town, Western Cape, South Africa
 

In the previous chapter, we completed the login and logout pages of our application. We learned a lot more about the Lucid and Edge. We also set up orders, order items, and improved products a bit.

We also protected the dashboard by checking for a customer session ID before allowing a customer to view the page. It was a subtle, albeit important, step in securing our application.

That’s what this chapter is all about. We’re going to improve that check by making the authorization layer robust and ubiquitous. We’ll learn about more of the security aspects of AdonisJs ...

Get The Definitive Guide to AdonisJs: Building Node.js Applications with JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.