I have multiple website on my server. In one of them I noticed i can see all the php files (and their code) of a folder.
The folder permissions are rwxr-xr-x (0755) and the files inside are rw-r--r-- (0644).
In my second website I have a similar folder and files with the same file permissions but there i get :
Forbidden
You don't have permission to access /myFolder/ on this server.
How is it possible? and what is the best way to set permissions so the website users can see the website but not a whole folder files?