I am using laravel on shared hosting.
Under my domain in my folder is the laravel app.
Now I see online that many people do weird stuff with the laravel public folder, they either move it to a different location or create a sys link, but why?
Isn't the laravel setup secure? As far as I understand nothing below the public folder can be accessed.
I simply put my laravel app into the domain folder and linked the domain to laravel/public
.
I even asked my provider and they confirmed it that this is the way to go.
But I am really paranoid about security, why many other people do it differently, maybe they have different setups?