Laravel Security In Depth

Share this post
Security Tip: Use Route Groups
larasec.substack.com

Security Tip: Use Route Groups

[Tip#24] It may sound trivial, but it's easy to overlook.

Stephen Rees-Carter
Jun 14
1
Share this post
Security Tip: Use Route Groups
larasec.substack.com

Greetings everyone! In this week’s security tip, I wanted to share a simple tip based on a common weakness I often see in Laravel apps. It’s common to see apps have most of their access control inside controllers, but I see it all the time where a specific action is missing an authorisation check because the developer forgot when writing that specific controller action. Hence why I recommend using a different approach…

I hope you all have a great week! 🙂


Use Route Groups

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2022 Stephen Rees-Carter
Privacy ∙ Terms ∙ Collection notice
Publish on Substack Get the app
Substack is the home for great writing