In this chapter, we will improve the application we built in Chapter 3, Your First Application, by adding a simple authentication mechanism and addressing any security issues with the existing code base. In doing so, you will learn about:
Configuring and using the authentication service
Middleware and how to apply it to specific routes
Data validation and form requests
The most common security vulnerabilities in web applications
How Laravel can help you write more secure code