Skip to Main Content
Laravel 5 Essentials
book

Laravel 5 Essentials

by Martin Bean
April 2015
Beginner content levelBeginner
144 pages
3h 13m
English
Packt Publishing
Content preview from Laravel 5 Essentials

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Laravel: A beginner's guide to application development with Laravel 5.3

Beginning Laravel: A beginner's guide to application development with Laravel 5.3

Sanjib Sinha
Laravel 5.x Cookbook

Laravel 5.x Cookbook

Terry Matula, Alfred Nutile

Publisher Resources

ISBN: 9781785283017Supplemental Content