O'Reilly logo

Laravel 5 Essentials by Martin Bean

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Authentication and Security

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

Authenticating users

Allowing users to register and sign in is an extremely common feature in web applications. Yet, PHP does not dictate how it should be done, nor does it give you any helpers to implement it. This has led to the creation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required