There are a few reasons not to use IDs in the URL.
Showing your "naked" ID in URLS = unsecure?
Hello there,
while finding a solution how to start the ID of my users with a higher number than 1 (since it looks bad :-)) I stumbled upong this request on github: https://github.com/laravel/framework/issues/2713
Now Taylor said he probably wont add it - but more importantly I though the discussion about security more interesting. Because by default, Laravel also uses /
Now I am wondering if this is really unsecure and if so, why is this the default state of Laravel?
Thanks for your input, Andreas
@andreasb Actually... he did do a video about it, and only a few weeks ago. https://laracasts.com/lessons/unique-slugs-in-laravel
It all depends on the issue. You don't always need to hide them.
Please or to participate in this conversation.