© Sanjib Sinha 2019
S. SinhaBeginning Laravel https://doi.org/10.1007/978-1-4842-4991-8_8

8. Authentication, Authorization, and Middleware

Sanjib Sinha1 
(1)
Howrah, West Bengal, India
 

The Internet is an open gateway, and ideally data should be able to travel on it freely. However, to be secure, this free flow of data has to be monitored and blocked sometimes. In today’s world, the Web reaches into almost every part of our lives, so we need the proper security in place, and your Laravel applications are no exception.

Today, most applications need to authenticate users, at least in some areas. In other areas, your application might need to implement authorization, because authentication by itself is not enough. That’s why most applications have layers ...

Get Beginning Laravel: Build Websites with Laravel 5.8 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.