© Sanjib Sinha 2017

Sanjib Sinha, Beginning Laravel, 10.1007/978-1-4842-2538-7_20

20. Middleware, Layer Filter, and Extra Security

Sanjib Sinha

(1)Howrah, West Bengal, India

HTTP Middleware is one of the best facilities Laravel 5 ships with. It not only adds extra security to your application but also gives you enough freedom to create your own security mechanism alongside the default Laravel Authentication mechanism. As you know already, when a user requests for a page, the browser sends the request and the server responds. Sometimes, this request­response mechanism is simple and sometimes it is fairly complicated. But at the end of the day whenever a user requests for a page a HTTP request enters your application. Most of the time it is innocuous, ...

Get Beginning Laravel: A beginner's guide to application development with Laravel 5.3 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.