Support the ongoing development of Laravel.io →
Authentication Security Requests

Hi there,

I'm creating many different web apps with Laravel 5 like an e-commerce, a blog, etc... All of my web apps need a login so I must secure my routes (mostly the ones like an e-commerce app) but I don't really understand how the SSL certificate works and how to apply them...

If I'm not wrong to secure a route I need:

  1. But an SSL certificate.
  2. Set a Middlewere in Laravel 5 to apply to the routes like here: http://stackoverflow.com/questions/28402726/laravel-5-redirect-to-https
  3. Set up the SSL on my server.

Is it OK? Or I need something else?Any other security advices for an e-commerce web app?

Best Regards

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Polinicles polinicles Joined 26 Nov 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.