Securing Laravel

Share this post

Security Tip: Use Route Groups

securinglaravel.com

Security Tip: Use Route Groups

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

Stephen Rees-Carter
Jun 14, 2022
∙ Paid
1
Share
Share this post

Security Tip: Use Route Groups

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

Keep reading with a 7-day free trial

Subscribe to Securing Laravel to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
Previous
Next
© 2023 Stephen Rees-Carter
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing